ObservationTransform¶
- class torchrl.envs.transforms.ObservationTransform(in_keys: Sequence[NestedKey] | None = None, out_keys: Sequence[NestedKey] | None = None, in_keys_inv: Sequence[NestedKey] | None = None, out_keys_inv: Sequence[NestedKey] | None = None)[source]¶
Abstract class for transformations of the observations.