Your canvas This is your canvas: with the Draw pen tap cells or drag across them, with the Erase pen erase them. Right now 16 cells are filled. For an empty canvas set the ready-made drawing to 2.
The drawing's box First the box the drawing covers is found: 7 columns, 7 rows. From here on it does not matter where on the grid the digit sits.
Centering your drawing network input
The box is scaled 1.43 times so that its long side is 10 cells, then placed in the middle. All training drawings were centered the same way; the network always sees a digit in the same place and at the same size.
Hidden layer your drawing network input hidden layer
The centered 144 pixels go into 32 hidden neurons. Dark squares are neurons that fire strongly.
Ten probabilities 0 0 1 0 2 100 3 0 4 0 5 0 6 0 7 0 8 0 9 0 your drawing network input hidden layer probability
The output layer and softmax give a probability for each digit. The bars are percentages.
Prediction 0 0 1 0 2 100 3 0 4 0 5 0 6 0 7 0 8 0 9 0 your drawing network input hidden layer probability
The network predicts 2 with 100.0 percent probability. Second is 7, with 0.0 percent. If the prediction is wrong, change the drawing a little and watch how the probabilities shift.
Why it matters 0 0 1 0 2 100 3 0 4 0 5 0 6 0 7 0 8 0 9 0 your drawing network input hidden layer probability
The network reads well only drawings that look like what it saw in training. Draw a letter or a scribble and it still names a digit, because softmax always spreads the probability over the ten digits. Real systems therefore prepare the input like the training data and handle low-confidence predictions separately.