I assume the error is raised, since you are passing multiple inputs returned by the TenCrop transformation?
If that’s the case, you could add the Normalize operation to the transforms.Lambda call as:
transforms.Lambda(lambda crops: torch.stack([transforms.Normalize(mean=..., std=...)(transforms.ToTensor()(crop)) for crop in crops]))

or alternatively add another transforms.Lambda as:
trans = transforms.Compose([transforms.Resize(256),
                            transforms.TenCrop(224), # this is a list of PIL Images
                            transforms.Lambda(lambda crops: torch.stack([transforms.ToTensor()(crop) for crop in crops])),
                            transforms.Lambda(lambda tensors:
                                torch.stack([transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])(t) for t in tensors]))
                           ])