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
-
get_params
(deep=False)[source]¶ Returns augmentation parameters.
Parameters: deep (bool) – flag to deeply copy objects. Returns: augmentation parameters. Return type: dict
-
transform
(x)[source]¶ Returns multiplied image.
Parameters: x (torch.Tensor) – observation tensor. Returns: processed observation tensor. Return type: torch.Tensor
Attributes
-
TYPE
= 'intensity'¶
-