Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

Module: tf_agents.metrics.tf_metrics

View source on GitHub

TF metrics.

Classes

class AverageEpisodeLengthMetric: Metric to compute the average episode length.

class AverageReturnMetric: Metric to compute the average return.

class ChosenActionHistogram: Metric to compute the frequency of each action chosen.

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

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

class TFDeque: Deque backed by tf.Variable storage.

Functions

log_metrics(...)