Skip to content

RandomConvolution

source



Random Convolution operation for image augmentation. Note that imgs should be normalized and torch tensor.

Methods:

.forward

source

.forward(
   x: th.Tensor
)