tff.backends.native.create_localhost_cpp_execution_context

Creates an execution context backed by TFF-C++ runtime.

This exexucion context starts a TFF-C++ worker assumed to be at path binary_path, serving on port, and constructs a simple (Python) remote execution context to talk to this worker.

binary_path The absolute path to the binary defining the TFF-C++ worker.
default_num_clients The number of clients to use as the default cardinality, if thus number cannot be inferred by the arguments of a computation.
max_concurrent_computation_calls The maximum number of concurrent calls to a single computation in the CPP runtime. If None, there is no limit.

An instance of context_base.Context representing the TFF-C++ runtime.