WriterEnsemble¶
- class torchrl.data.replay_buffers.WriterEnsemble(*writers)[source]¶
An ensemble of writers.
This class is designed to work with
ReplayBufferEnsemble
. It contains the writers but blocks writing with any of them.- Parameters:
writers (sequence of Writer) – the writers to make the composite writer.
Warning
This class does not support writing. To extend one of the replay buffers, simply index the parent
ReplayBufferEnsemble
object.