Shortcuts

torchrl.trainers.algorithms.configs.transforms.ToTensorImageConfig

class torchrl.trainers.algorithms.configs.transforms.ToTensorImageConfig(from_int: bool | None = None, unsqueeze: bool = False, dtype: str | None = None, in_keys: list[str] | None = None, out_keys: list[str] | None = None, shape_tolerant: bool = False, _target_: str = 'torchrl.envs.transforms.transforms.ToTensorImage')[source]

Configuration for ToTensorImage transform.

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