tf: Main TensorFlow module

tfR 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: 
library(tensorflow)

hello <- tf$constant('Hello, TensorFlow!')
zeros <- tf$Variable(tf$zeros(shape(1L)))

tf$print(hello)
tf$print(zeros)

## End(Not run)

tensorflow documentation built on Sept. 28, 2023, 5:06 p.m.

Related to tf in tensorflow...