code: def data_transforms_cifar10(args):
      
  
      cifar_mean = [0.49139968, 0.48215827, 0.44653124]
      cifar_std = [0.24703233, 0.24348505, 0.26158768]
  
      train_transform = transforms.Compose(
          [
              transforms.RandomCrop(32, padding=4),
              transforms.RandomHorizontalFlip(),
              transforms.ToTensor(),
              transforms.Normalize(cifar_mean, cifar_std),
          ]
      )
      if args.cutout:
          train_transform.transforms.append(Cutout(args.cutout_length))
  
      valid_transform = transforms.Compose(
          [transforms.ToTensor(), transforms.Normalize(cifar_mean, cifar_std)]
      )
      return train_transform, valid_transform
docs: data_transforms for cifar10 dataset