# {py:mod}`evorl.replay_buffers.lap_replay_buffer` ```{py:module} evorl.replay_buffers.lap_replay_buffer ``` ```{autodoc2-docstring} evorl.replay_buffers.lap_replay_buffer :parser: autodoc2_docstrings_parser :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`LAPReplayBuffer ` - ```{autodoc2-docstring} evorl.replay_buffers.lap_replay_buffer.LAPReplayBuffer :parser: autodoc2_docstrings_parser :summary: ``` ```` ### API `````{py:class} LAPReplayBuffer :canonical: evorl.replay_buffers.lap_replay_buffer.LAPReplayBuffer Bases: {py:obj}`evorl.replay_buffers.prioritized_replay_buffer.PrioritizedReplayBuffer` ```{autodoc2-docstring} evorl.replay_buffers.lap_replay_buffer.LAPReplayBuffer :parser: autodoc2_docstrings_parser ``` ````{py:method} sample(buffer_state: evorl.replay_buffers.prioritized_replay_buffer.PrioritizedReplayBufferState, key: chex.PRNGKey, beta: float | chex.Array = 0.0) -> tuple[chex.ArrayTree, chex.Array, evorl.replay_buffers.prioritized_replay_buffer.PrioritizedReplayBufferState] :canonical: evorl.replay_buffers.lap_replay_buffer.LAPReplayBuffer.sample ```{autodoc2-docstring} evorl.replay_buffers.lap_replay_buffer.LAPReplayBuffer.sample :parser: autodoc2_docstrings_parser ``` ```` `````