implemented data loading and normalization
This commit is contained in:
parent
01d07da8f3
commit
afb48a38a1
26 changed files with 986456 additions and 3 deletions
|
|
@ -17,6 +17,7 @@ test = datasets.MNIST('./datasets', train=False, download=True,
|
|||
trainset = torch.utils.data.DataLoader(train, batch_size=10, shuffle=True)
|
||||
testset = torch.utils.data.DataLoader(test, batch_size=10, shuffle=False)
|
||||
|
||||
|
||||
class Net(nn.Module):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue