Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Jan 7, 2024
1 parent 67546ee commit de7ba26
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/source/reference/data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,14 @@ Datasets
--------

TorchRL provides wrappers around offline RL datasets.
These data are presented a :class:`~torchrl.data.ReplayBuffer` instances, which
These data are presented as :class:`~torchrl.data.ReplayBuffer` instances, which
means that they can be customized at will with transforms, samplers and storages.
For instance, entries can be filtered in or out of a dataset with :class:`~torchrl.envs.SelectTransform`
or :class:`~torchrl.envs.ExcludeTransform`.

By default, datasets are stored as memory mapped tensors, allowing them to be
promptly sampled with virtually no memory footprint.

Here's an example:

.. code::Python
Expand Down

0 comments on commit de7ba26

Please sign in to comment.