Module: tf_agents.metrics.py_metrics

Implementation of various python metrics.

Classes

class AverageEpisodeLengthMetric: Computes the average episode length.

class AverageReturnMetric: Computes the average undiscounted reward.

class CounterMetric: Metric to track an arbitrary counter.

class EnvironmentSteps: Counts the number of steps taken in the environment.

class NumberOfEpisodes: Counts the number of episodes in the environment.

class NumpyDeque: Deque implementation using a numpy array as a circular buffer.

class StreamingMetric: Abstract base class for streaming metrics.

absolute_import Instance of __future__._Feature
division Instance of __future__._Feature
print_function Instance of __future__._Feature