Shortcuts

torchrl.trainers.algorithms.configs.data.SliceSamplerWithoutReplacementConfig

class torchrl.trainers.algorithms.configs.data.SliceSamplerWithoutReplacementConfig(_target_: str = 'torchrl.data.replay_buffers.SliceSamplerWithoutReplacement', num_slices: int | None = None, slice_len: int | None = None, end_key: Any = None, traj_key: Any = None, ends: Any = None, trajectories: Any = None, cache_values: bool = False, truncated_key: Any = ('next', 'truncated'), strict_length: bool = True, compile: Any = False, span: Any = False, use_gpu: Any = False)[source]

Configuration for slice sampling without replacement.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources