# Module: tf_agents.metrics.tf_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_metric.py) |

Base class for TensorFlow metrics.

## Classes

[`class TFHistogramStepMetric`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/metrics/tf_metric/TFHistogramStepMetric): A metric class for metrics that emit multiple values.

[`class TFMultiMetricStepMetric`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/metrics/tf_metric/TFMultiMetricStepMetric): A TF step metric that emits multiple values per step.

[`class TFStepMetric`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/metrics/tf_metric/TFStepMetric): Defines the interface for TF metrics.

<br />

<br />

<br />

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

<br />