Rate this Page
★ ★ ★ ★ ★

torchrl.trainers.algorithms.configs.data.SamplerWithoutReplacementConfig#

class torchrl.trainers.algorithms.configs.data.SamplerWithoutReplacementConfig(_target_: str = 'torchrl.data.replay_buffers.SamplerWithoutReplacement', drop_last: bool = False, shuffle: bool = True)[source]#

Configuration for sampling without replacement.