make_replay_buffer¶
- torchrl.trainers.helpers.make_replay_buffer(device: Union[device, str, int], cfg: DictConfig) ReplayBuffer [source]¶
Builds a replay buffer using the config built from ReplayArgsConfig.
Builds a replay buffer using the config built from ReplayArgsConfig.