tff.framework.set_default_executor

View source on GitHub

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

tff.framework.set_default_executor(
    executor_factory_instance=None
)

Used in the notebooks

Used in the tutorials

Args:

  • executor_factory_instance: An instance of executor_factory.ExecutorFactory, or None for the default executor.