# Module: tf_agents.metrics

<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/__init__.py) |

Metrics module.

## Modules

[`batched_py_metric`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/metrics/batched_py_metric) module: A python metric that can be called with batches of trajectories.

[`export_utils`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/metrics/export_utils) module: Utils to export metrics.

[`py_metric`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/metrics/py_metric) module: Base class for Python metrics.

[`py_metrics`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/metrics/py_metrics) module: Implementation of various python metrics.

[`tf_metric`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/metrics/tf_metric) module: Base class for TensorFlow metrics.

[`tf_metrics`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/metrics/tf_metrics) module: TF metrics.

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