Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion projects/project-notebooks/Microlearning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@
},
"outputs": [],
"source": [
"NUM_INPUTS = np.product(train_set.dataset.data[0].shape) # size of an MNIST image\n",
"NUM_INPUTS = np.prod(train_set.dataset.data[0].shape) # size of an MNIST image\n",
"NUM_OUTPUTS = 10 # number of MNIST classes\n",
"\n",
"class MultiLayerPerceptron(torch.nn.Module):\n",
Expand Down
Loading