# Module: tf_agents.metrics.tf_py_metric

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/metrics/tf_py_metric.py) |

Wraps a python metric as a TF metric.

## Classes

[`class TFPyMetric`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/metrics/tf_py_metric/TFPyMetric): Wraps a python metric as a TF metric.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| absolute_import | Instance of `__future__._Feature` |
| division | Instance of `__future__._Feature` |
| print_function | Instance of `__future__._Feature` |

<br />