Module: tf_agents.replay_buffers.py_uniform_replay_buffer

Uniform replay buffer in Python.

The base class provides all the functionalities of a uniform replay buffer:

  • add samples in a First In First Out way.
  • read samples uniformly.

PyHashedReplayBuffer is a flavor of the base class which compresses the observations when the observations have some partial overlap (e.g. when using frame stacking).

Classes

class PyUniformReplayBuffer: A Python-based replay buffer that supports uniform sampling.