Skip to content

GrayScale

source



Grayscale operation for image augmentation.

Methods:

.forward

source

.forward(
   x: th.Tensor
)