Hi there,
The documentation here: https://pytorch.org/docs/stable/_modules/torchvision/transforms/functional.html#crop 1 is different from the actual source code in pytorch 1.6 (the documentation says the module support tensor as input but the source code only support PIL Image):
def crop(img, top, left, height, width):
“”"Crop the given PIL Image.
 Args:
     img (PIL Image): Image to be cropped. (0,0) denotes the top left corner of the image.
     top (int): Vertical component of the top left corner of the crop box.
     left (int): Horizontal component of the top left corner of the crop box.
     height (int): Height of the crop box.
     width (int): Width of the crop box.

 Returns:
     PIL Image: Cropped image.
 """
 if not _is_pil_image(img):
     raise TypeError('img should be PIL Image. Got {}'.format(type(img)))
 return img.crop((left, top, left + width, top + height))