
Last chance! 50% off unlimited learning
Sale ends in
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.).
tf
TensorFlow module
# NOT RUN {
library(tensorflow)
hello <- tf$constant('Hello, TensorFlow!')
zeros <- tf$Variable(tf$zeros(shape(1L)))
tf$print(hello)
tf$print(zeros)
# }
Run the code above in your browser using DataLab