(self, img)
return F.resize(img, self.size, self.interpolation, self.max_size,
                        self.antialias)
Args:
            img (PIL Image or Tensor): Image to be scaled.

        Returns:
            PIL Image or Tensor: Rescaled image.
Args:
            img (PIL Image or Tensor): Image to be scaled.
Args : img ( PIL Image or Tensor ) : Image to be scaled .
def forward(self, img):
        """
        Args:
            img (PIL Image or Tensor): Image to be scaled.

        Returns:
            PIL Image or Tensor: Rescaled image.
        """
        return F.resize(img, self.size, self.interpolation, self.max_size,
                        self.antialias)
def forward ( self , img ) : return F . resize ( img , self . size , self . interpolation , self . max_size , self . antialias )