Creates a callable TensorFlow graph from an R function.
tf_function
constructs a callable that executes a TensorFlow graph created by tracing the
TensorFlow operations in f
.
This allows the TensorFlow runtime to apply optimizations and exploit parallelism in the
computation defined by f
.
tf_function( f, input_signature = NULL, autograph = FALSE, experimental_autograph_options = NULL )
f |
the function to be compiled |
input_signature |
A possibly nested sequence of |
autograph |
Whether autograph should be applied on |
experimental_autograph_options |
Experimental knobs (in the form of a tuple of
|
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.