Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.experimental.function_executor_type

TensorFlow 2.0 version View source on GitHub

Context manager for setting the executor of eager defined functions.

Aliases:

  • tf.compat.v1.experimental.function_executor_type
  • tf.compat.v2.experimental.function_executor_type
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.