Skip to content

Commit ee04a4b

Browse files
authored
Merge pull request #224 from AlirezaSaberi/patch-1
fix: Remove Redundant np.sum() on a single cell
2 parents 90c81cf + a9d2267 commit ee04a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convolutional-neural-networks/mnist-mlp/mnist_mlp_exercise.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
" if class_total[i] > 0:\n",
333333
" print('Test Accuracy of %5s: %2d%% (%2d/%2d)' % (\n",
334334
" str(i), 100 * class_correct[i] / class_total[i],\n",
335-
" np.sum(class_correct[i]), np.sum(class_total[i])))\n",
335+
" class_correct[i], class_total[i]))\n",
336336
" else:\n",
337337
" print('Test Accuracy of %5s: N/A (no training examples)' % (classes[i]))\n",
338338
"\n",

0 commit comments

Comments
 (0)