tf {tensorflow}R Documentation

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

Format

TensorFlow module

Examples

## 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

## End(Not run)

[Package tensorflow version 0.8.2 Index]