torchrl.trainers.algorithms.configs.transforms.CenterCropConfig¶ class torchrl.trainers.algorithms.configs.transforms.CenterCropConfig(height: int = 84, width: int = 84, in_keys: list[str] | None = None, out_keys: list[str] | None = None, _target_: str = 'torchrl.envs.transforms.transforms.CenterCrop')[源代码]¶ CenterCrop 变换的配置。