Data preprocessing

I hava a question as follows:

data_dir="DogsVSCats"
data_transform={
    x:transforms.Compose([transforms.Scale([64,64]),transforms.ToTensor()])
    for x in ["train","valid"]
}

I don’t understand the data_transforms={} and the content in the data_transforms ?

transforms comes from torchvision.