Save the date! Google I/O returns May 18-20 Register now

Module: tf_agents.metrics.py_metric

Base class for Python metrics.


class PyMetric: Defines the interface for metrics.

class PyStepMetric: Defines the interface for metrics that operate on trajectories.


run_summaries(...): Execute summary ops for py_metrics.

Type Aliases

MetricType: The central part of internal API.

PyMetricType Instance of typing.ForwardRef