library(tensorflow)
<- tf$constant('Hello, TensorFlow!')
hello <- tf$Variable(tf$zeros(shape(1L)))
zeros
$print(hello)
tf$print(zeros) tf
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.).
Format
TensorFlow module
Usage
tf