Open main menu

CDOT Wiki β

Changes

DPS921/PyTorch: Convolutional Neural Networks

No change in size, 18:38, 29 November 2020
Implementation of a Neural Network
''' 5. Test our neural network with some randomized values representing a 1 dimensional tensor of pixel values of 28 by 28 pixel image.
''' print the output of the test and ensure that the resultant is a tensor with 10 numerical 10 values.
X = torch.rand((28,28))