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

tff.framework.set_default_executor

View source

Places an executor-backed execution context at the top of the stack.

tff.framework.set_default_executor(executor=None)

NOTE: This function is only available in Python 3.

Args:

  • executor: Either an instance of executor_base.Executor, or None which causes the default reference executor to be installed (as is the default).