tf_agents.metrics.py_metrics.NumpyDeque

Deque implementation using a numpy array as a circular buffer.

Inherits From: NumpyState

maxlen Maximum length of the deque before beginning to evict the oldest entries. If np.inf, deque size is unlimited and the array will grow automatically.
dtype Data type of deque elements.

last

Methods

add

View source

clear

View source

extend

View source

mean

View source

__len__

View source