# Module: tf_agents.replay_buffers.py_uniform_replay_buffer

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/replay_buffers/py_uniform_replay_buffer.py) |

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`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/replay_buffers/py_uniform_replay_buffer/PyUniformReplayBuffer): A Python-based replay buffer that supports uniform sampling.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| absolute_import | Instance of `__future__._Feature` |
| division | Instance of `__future__._Feature` |
| print_function | Instance of `__future__._Feature` |

<br />