![]() |
Creates a local async execution context backed by TFF-C++ runtime.
tff.backends.test.create_async_experimental_distributed_cpp_execution_context(
distributed_config: tff.backends.test.DistributedConfiguration
,
default_num_clients: int = 0,
max_concurrent_computation_calls: int = -1,
stream_structs: bool = False
) -> tff.framework.AsyncExecutionContext
When using this context, the local sequence reductions assumed to expressed using tff.sequence_reduce. Iterating over dataset or dataset.reduce inside TF graph are currently not supported.
Returns | |
---|---|
An instance of context_base.AsyncContext representing the TFF-C++ runtime.
|