d3rlpy.augmentation.image.RandomRotation¶
-
class
d3rlpy.augmentation.image.
RandomRotation
(degree=5.0)[source]¶ Random rotation augmentation.
References
- Parameters
degree (float) – range of degrees to rotate image.
Methods
-
transform
(x)[source]¶ Returns augmented observation.
- Parameters
x (torch.Tensor) – observation.
- Returns
augmented observation.
- Return type
torch.Tensor
Attributes