View source on GitHub |
Context manager for setting the executor of eager defined functions.
@tf_contextlib.contextmanager
tf.experimental.function_executor_type(
executor_type
)
Eager defined functions are functions decorated by tf.contrib.eager.defun.
executor_type
: a string for the name of the executor to be used to execute
functions defined by tf.contrib.eager.defun.Context manager for setting the executor of eager defined functions.