(self, img: Tensor)
return F.gaussian_blur(img, self.kernel_size, [sigma, sigma])
Args:
            img (PIL Image or Tensor): image to be blurred.

        Returns:
            PIL Image or Tensor: Gaussian blurred image
Args:
            img (PIL Image or Tensor): image to be blurred.
Args : img ( PIL Image or Tensor ) : image to be blurred .
def forward(self, img: Tensor) -> Tensor:
        """
        Args:
            img (PIL Image or Tensor): image to be blurred.

        Returns:
            PIL Image or Tensor: Gaussian blurred image
        """
        sigma = self.get_params(self.sigma[0], self.sigma[1])
        return F.gaussian_blur(img, self.kernel_size, [sigma, sigma])
def forward ( self , img : Tensor ) -> Tensor : sigma = self . get_params ( self . sigma [ 0 ] , self . sigma [ 1 ] ) return F . gaussian_blur ( img , self . kernel_size , [ sigma , sigma ] )