|View source on GitHub|
A executor factory holding an executor per cardinality.
tff.framework.SizingExecutorFactory( executor_stack_fn: Callable[[executor_factory.CardinalitiesType], tuple[executor_base.Executor, list[sizing_executor.SizingExecutor]]] )
||Similar to base class but the second return value of the callable is used to expose the SizingExecutors.|
close on constructed executors, resetting internal cache.
If a caller holds a name bound to any of the executors returned from
create_executor with the specified cardinalities, this executor
should be assumed to be in an invalid state, and should not be used after
this method is called. Instead, callers should again invoke
||The cardinalities of the executor to be cleaned up.|
See base class.
Returns information about the transferred data of each SizingExecutor.
Returns the history of broadcast and aggregation for each executor as well as the number of aggregated bits that has been passed through.
An instance of