快捷方式

torchrl.trainers.algorithms.configs.data.TensorStorageConfig

class torchrl.trainers.algorithms.configs.data.TensorStorageConfig(_partial_: bool = False, _target_: str = 'torchrl.data.replay_buffers.TensorStorage', max_size: int | None = None, storage: Any = None, device: Any = None, ndim: int | None = None, compilable: bool = False)[源代码]

用于回放缓冲区中基于张量的存储配置。

文档

访问全面的 PyTorch 开发者文档

查看文档

教程

为初学者和高级开发者提供深入的教程

查看教程

资源

查找开发资源并让您的问题得到解答

查看资源