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
for single-machine use only.
ValueError: If the number of clients is not one or larger.