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.
scale

scale of multiplier.

Type:float

Methods

get_params()[source]

Returns augmentation parameters.

Returns:augmentation parameters.
Return type:dict
get_type()[source]

Returns augmentation type.

Returns:intensity.
Return type:str
transform(x)[source]

Returns multiplied image.

Parameters:x (torch.Tensor) – observation tensor.
Returns:processed observation tensor.
Return type:torch.Tensor