Skip to content

RandomRotate

source

RandomRotate(
   p: float = 0.2
)


Random rotate operation for processing image-based observations.

Args

  • p (float) : The image rotate problistily in a batch.

Returns

Random rotate image in a batch.

Methods:

.forward

source

.forward(
   x: th.Tensor
)