tf.experimental.function_executor_type

View source on GitHub

Context manager for setting the executor of eager 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.

Yields:

Context manager for setting the executor of eager defined functions.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/experimental/function_executor_type