![]() |
ExecutorFactory to construct executors which cannot understand placement.
tff.framework.UnplacedExecutorFactory(
*,
support_sequence_ops: bool = False,
can_resolve_references: bool = True,
server_device: Optional[tf.config.LogicalDevice] = None,
client_devices: Optional[Sequence[tf.config.LogicalDevice]] = (),
leaf_executor_fn=tff.framework.EagerTFExecutor
)
This factory constructs executors which represent "local execution": work that happens at the clients, at the server, or without placements. As such, this executor manages the placement of work on local executors.
Methods
clean_up_executor
clean_up_executor(
cardinalities: tff.framework.CardinalitiesType
)
create_executor
create_executor(
*,
cardinalities: Optional[tff.framework.CardinalitiesType
] = None,
placement: Optional[tff.framework.PlacementLiteral
] = None
) -> tff.framework.Executor
Constructs instance of executor_base.Executor
.