<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/probability/blob/v0.25.0/tensorflow_probability/python/debugging/benchmarking/__init__.py) |

TensorFlow Probability benchmarking library.

## Classes

[`class BenchmarkTfFunctionConfig`](https://www.tensorflow.org/probability/api_docs/python/tfp/debugging/benchmarking/BenchmarkTfFunctionConfig): BenchmarkTfFunctionConfig(strategies, hardware)

## Functions

[`benchmark_tf_function(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/debugging/benchmarking/benchmark_tf_function): Time a TensorFlow function under a variety of strategies and hardware.

[`default_benchmark_config(...)`](https://www.tensorflow.org/probability/api_docs/python/tfp/debugging/benchmarking/default_benchmark_config)

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| HARDWARE_CPU | `'cpu'` |
| HARDWARE_GPU | `'gpu'` |
| RUNTIME_EAGER | `'eager'` |
| RUNTIME_FUNCTION | `'function/graph'` |
| RUNTIME_XLA | `'function/xla'` |
| RUNTIME_XLA_AUTOCLUSTER | `'xla-autoclustering'` |

<br />