Module: tff.backends.test

Libraries for interacting with test backends.

Functions

create_async_test_cpp_execution_context(...): Creates an execution context that executes computations locally.

create_sync_test_cpp_execution_context(...): Creates an execution context that executes computations locally.

replace_secure_intrinsics_with_bodies(...): Replace secure_... intrinsics with insecure TensorFlow equivalents.

set_async_test_cpp_execution_context(...): Sets an execution context that executes computations locally.

set_sync_test_cpp_execution_context(...): Sets an execution context that executes computations locally.