Autograph

The main workhorse of the package.

autograph()

Autograph R code

Options

Specify additional options when autographing.

ag_name()

Specify a tensor name

ag_while_opts()

specify tf.while_loop options

Hints

Provide hints to autograph()

ag_if_vars()

Specify tf.cond() output structure when autographing if

ag_loop_vars()

Specify loop variables

Thin Convenience Wrappers

Thin wrappers around direct tensorflow functions with easier ergonomics.

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

Helpful utilities while writing and debugging

view_function_graph()

Visualizes the generated graph