tensorflow (version 0.7)

tf: Main TensorFlow module

Description

Interface to main TensorFlow module. Provides access to top level classes and functions as well as sub-modules (e.g. tf$nn, tf$contrib$learn, etc.).

Usage

tf

Arguments

Format

TensorFlow module

Examples

Run this code
## Not run: ------------------------------------
# hello <- tf$constant('Hello, TensorFlow!')
# b <- tf$Variable(tf$zeros(shape(1L)))
# 
# sess <- tf$Session()
# sess$run(tf$global_variables_initializer())
# 
# learn <- tf$contrib$learn
# slim <- tf$contrib$slim
## ---------------------------------------------

Run the code above in your browser using DataCamp Workspace