tf.experimental.function_executor_type

TensorFlow 2 version View source on GitHub

Context manager for setting the executor of eager defined functions.

Aliases:

tf.experimental.function_executor_type(executor_type)

Eager defined functions are functions decorated by tf.contrib.eager.defun.

Args:

  • executor_type: a string for the name of the executor to be used to execute functions defined by tf.contrib.eager.defun.

Yields:

Context manager for setting the executor of eager defined functions.