d3rlpy.augmentation.image.Intensity¶
-
class
d3rlpy.augmentation.image.
Intensity
(scale=0.1)[source]¶ Intensity augmentation.
\[x' = x + n\]where \(n \sim N(0, scale)\).
References
- Parameters
scale (float) – scale of multiplier.
Methods
-
transform
(x)[source]¶ Returns augmented observation.
- Parameters
x (torch.Tensor) – observation.
- Returns
augmented observation.
- Return type
torch.Tensor
Attributes