import torchvision.transforms.functional as F


class ToTensor(object):
    def __init__(self):
        pass

    def __call__(self, img, target):
        img = F.to_tensor(img)
        return img, target


