14 lines
276 B
Python
14 lines
276 B
Python
"""
|
|
Example file containing data transformations, which can be used by datamodule.
|
|
"""
|
|
from torchvision import transforms
|
|
|
|
|
|
mnist_train_transforms = transforms.Compose([
|
|
transforms.ToTensor(),
|
|
])
|
|
|
|
mnist_test_transforms = transforms.Compose([
|
|
transforms.ToTensor(),
|
|
])
|