(img: Tensor)
return F_pil._get_image_size(img)
Returns image size as [w, h]
Returns image size as [w, h]
Returns image size as [ w h ]
def _get_image_size(img: Tensor) -> List[int]:
    """Returns image size as [w, h]
    """
    if isinstance(img, torch.Tensor):
        return F_t._get_image_size(img)

    return F_pil._get_image_size(img)
def _get_image_size ( img : Tensor ) -> List [ int ] : if isinstance ( img , torch . Tensor ) : return F_t . _get_image_size ( img ) return F_pil . _get_image_size ( img )