|View source on GitHub|
executor-backed execution context at the top of the stack.
Used in the tutorials:
- High-performance simulations with TFF
- Federated Learning for Image Classification
- Federated Learning for Text Generation
NOTE: This function is only available in Python 3.
executor: Either an instance of
executor_base.Executor, a factory function returning such executors, or
executoris a factory function, the constructed context will infer the number of clients from the data it is passed, if possible. If
None, causes the default reference executor to be installed (as is the default).