Watch talks from the 2019 TensorFlow Dev Summit Watch now

tf.experimental.function_executor_type

tf.experimental.function_executor_type(executor_type)

Defined in tensorflow/python/eager/context.py.

Context manager for setting the executor of eagar defined functions.

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.

Returns:

Context manager for setting the executor of eager defined functions.