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

tf_agents.metrics.tf_metrics.TFDeque

View source on GitHub

Deque backed by tf.Variable storage.

tf_agents.metrics.tf_metrics.TFDeque(
    max_len, dtype, name='TFDeque'
)

Attributes:

  • data
  • length

Methods

add

View source

add(
    value
)

clear

View source

clear()

extend

View source

extend(
    value
)

mean

View source

mean()