|View source on GitHub|
A executor factory holding an executor per cardinality.
tff.framework.SizingExecutorFactory( executor_stack_fn: Callable[[CardinalitiesType], Tuple[
tff.framework.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 all constructed executors, resetting internal cache.
If a caller holds a name bound to any of the executors returned from
create_executor, 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
create_executor( cardinalities: CardinalitiesType ) ->
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