SqueezeTransform
- class torchrl.envs.transforms.SqueezeTransform(*args, **kwargs)[source]
Removes a dimension of size one at the specified position.
- Parameters:
squeeze_dim (int) – dimension to squeeze.
Removes a dimension of size one at the specified position.
squeeze_dim (int) – dimension to squeeze.