tfautograph

Tools for translating R code to Tensorflow Graphs

Autograph

Function(s) Description
autograph() Autograph R code

Options

Function(s) Description
ag_name() Specify a tensor name
ag_while_opts() specify tf.while_loop options

Hints

Function(s) Description
ag_if_vars() Specify tf.cond() output structure when autographing if
ag_loop_vars() Specify loop variables

Thin Convenience Wrappers

Function(s) Description
tf_assert() tf_assert
tf_case() tf.case
tf_cond() tf.cond
tf_map() tf.map_fn()
tf_switch() tf.switch_case
[[<-(<tensorflow.python.ops.tensor_array_ops.TensorArray>) TensorArray.write()

Interactive helpers

Function(s) Description
view_function_graph() Visualizes the generated graph