# Module: tff.backends.test

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |

Libraries for interacting with test backends.

## Functions

[`create_async_test_cpp_execution_context(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/backends/test/create_async_test_cpp_execution_context): Creates an execution context that executes computations locally.

[`create_sync_test_cpp_execution_context(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/backends/test/create_sync_test_cpp_execution_context): Creates an execution context that executes computations locally.

[`replace_secure_intrinsics_with_bodies(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/backends/test/replace_secure_intrinsics_with_bodies): Replace `secure_...` intrinsics with insecure TensorFlow equivalents.

[`set_async_test_cpp_execution_context(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/backends/test/set_async_test_cpp_execution_context): Sets an execution context that executes computations locally.

[`set_sync_test_cpp_execution_context(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/backends/test/set_sync_test_cpp_execution_context): Sets an execution context that executes computations locally.