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


View source

Constructs an executor to execute computations on the local machine.


The initial temporary implementation requires that the number of clients be specified in advance. This limitation will be removed in the near future.

NOTE: This function is only available in Python 3.


  • num_clients: The number of clients. If not specified (None), then this executor is not federated (can only execute unplaced computations).


An instance of tff.framework.Executor for single-machine use only.


  • ValueError: If the number of clients is not one or larger.