torchrl.trainers.algorithms.configs.transforms.CropConfig¶ class torchrl.trainers.algorithms.configs.transforms.CropConfig(top: int = 0, left: int = 0, height: int = 84, width: int = 84, in_keys: list[str] | None = None, out_keys: list[str] | None = None, _target_: str = 'torchrl.envs.transforms.transforms.Crop')[源代码]¶ Crop transform 的配置。