(self, img)
return F.ten_crop(img, self.size, self.vertical_flip)
Args:
            img (PIL Image or Tensor): Image to be cropped.

        Returns:
            tuple of 10 images. Image can be PIL Image or Tensor
Args:
            img (PIL Image or Tensor): Image to be cropped.
Args : img ( PIL Image or Tensor ) : Image to be cropped .
def forward(self, img):
        """
        Args:
            img (PIL Image or Tensor): Image to be cropped.

        Returns:
            tuple of 10 images. Image can be PIL Image or Tensor
        """
        return F.ten_crop(img, self.size, self.vertical_flip)
def forward ( self , img ) : return F . ten_crop ( img , self . size , self . vertical_flip )