快捷方式

torchrl.trainers.algorithms.configs.transforms.StepCounterConfig

class torchrl.trainers.algorithms.configs.transforms.StepCounterConfig(max_steps: int | None = None, truncated_key: str | None = 'truncated', step_count_key: str | None = 'step_count', update_done: bool = True, _target_: str = 'torchrl.envs.transforms.transforms.StepCounter')[原始碼]

StepCounter 轉換的配置。

文件

訪問全面的 PyTorch 開發者文件

檢視文件

教程

為初學者和高階開發者提供深入的教程

檢視教程

資源

查詢開發資源並讓您的問題得到解答

檢視資源