1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
| --------------------------------------------------------------------------- Layer (type) Input Shape Output Shape Param # =========================================================================== Conv2D-1 [[8, 1, 28, 28]] [8, 6, 28, 28] 60 ReLU-1 [[8, 6, 28, 28]] [8, 6, 28, 28] 0 MaxPool2D-1 [[8, 6, 28, 28]] [8, 6, 14, 14] 0 Conv2D-2 [[8, 6, 14, 14]] [8, 16, 10, 10] 2,416 ReLU-2 [[8, 16, 10, 10]] [8, 16, 10, 10] 0 MaxPool2D-2 [[8, 16, 10, 10]] [8, 16, 5, 5] 0 Conv2D-3 [[8, 16, 5, 5]] [8, 120, 1, 1] 48,120 ReLU-3 [[8, 120, 1, 1]] [8, 120, 1, 1] 0 Flatten-1 [[8, 120, 1, 1]] [8, 120] 0 Linear-1 [[8, 120]] [8, 84] 10,164 ReLU-4 [[8, 84]] [8, 84] 0 Linear-2 [[8, 84]] [8, 10] 850 =========================================================================== Total params: 61,610 Trainable params: 61,610 Non-trainable params: 0 --------------------------------------------------------------------------- Input size (MB): 0.02 Forward/backward pass size (MB): 0.90 Params size (MB): 0.24 Estimated Total Size (MB): 1.16 ---------------------------------------------------------------------------
{'total_params': 61610, 'trainable_params': 61610}
|