Skip to content

RandomFlip

source

RandomFlip(
   p: float = 0.2
)


Random flip operation for image augmentation.

Args

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

Returns

Augmented images.

Methods:

.forward

source

.forward(
   x: th.Tensor
)