View source on GitHub |
Creates an execution context that executes computations locally.
tff.backends.test.create_async_test_cpp_execution_context(
*,
default_num_clients: int = 0,
max_concurrent_computation_calls: int = -1,
stream_structs: bool = False
) -> tff.framework.AsyncExecutionContext