Model: "sequential_6"
_________________________________________________________________
Layer (type) Output Shape Param #
=================================================================
dense_18 (Dense) (None, 256) 200960
_________________________________________________________________
activation_18 (Activation) (None, 256) 0
_________________________________________________________________
dense_19 (Dense) (None, 256) 65792
_________________________________________________________________
activation_19 (Activation) (None, 256) 0
_________________________________________________________________
dense_20 (Dense) (None, 10) 2570
_________________________________________________________________
activation_20 (Activation) (None, 10) 0
=================================================================
Total params: 269,322
Trainable params: 269,322
Non-trainable params: 0
_________________________________________________________________
Train on 60000 samples
Epoch 1/20
60000/60000 [==============================] - 3s 53us/sample - loss: 1.1551 - accuracy: 0.7331
Epoch 2/20
60000/60000 [==============================] - 3s 47us/sample - loss: 0.4637 - accuracy: 0.8794
Epoch 3/20
60000/60000 [==============================] - 3s 43us/sample - loss: 0.3692 - accuracy: 0.8982
Epoch 4/20
60000/60000 [==============================] - 2s 37us/sample - loss: 0.3284 - accuracy: 0.9078
Epoch 5/20
60000/60000 [==============================] - 2s 39us/sample - loss: 0.3028 - accuracy: 0.9144
Epoch 6/20
60000/60000 [==============================] - 2s 38us/sample - loss: 0.2834 - accuracy: 0.9197
Epoch 7/20
60000/60000 [==============================] - 2s 38us/sample - loss: 0.2675 - accuracy: 0.9246
Epoch 8/20
60000/60000 [==============================] - 2s 40us/sample - loss: 0.2543 - accuracy: 0.9279
Epoch 9/20
60000/60000 [==============================] - 4s 61us/sample - loss: 0.2420 - accuracy: 0.9314
Epoch 10/20
60000/60000 [==============================] - 3s 51us/sample - loss: 0.2315 - accuracy: 0.9345
Epoch 11/20
60000/60000 [==============================] - 3s 50us/sample - loss: 0.2215 - accuracy: 0.9375
Epoch 12/20
60000/60000 [==============================] - 3s 58us/sample - loss: 0.2127 - accuracy: 0.9404
Epoch 13/20
60000/60000 [==============================] - 3s 57us/sample - loss: 0.2043 - accuracy: 0.9426
Epoch 14/20
60000/60000 [==============================] - 3s 55us/sample - loss: 0.1965 - accuracy: 0.9449
Epoch 15/20
60000/60000 [==============================] - 3s 51us/sample - loss: 0.1890 - accuracy: 0.9468
Epoch 16/20
60000/60000 [==============================] - 4s 63us/sample - loss: 0.1824 - accuracy: 0.9483
Epoch 17/20
60000/60000 [==============================] - 3s 52us/sample - loss: 0.1760 - accuracy: 0.9501
Epoch 18/20
60000/60000 [==============================] - 3s 51us/sample - loss: 0.1697 - accuracy: 0.9514
Epoch 19/20
60000/60000 [==============================] - 3s 51us/sample - loss: 0.1643 - accuracy: 0.9534
Epoch 20/20
60000/60000 [==============================] - 3s 52us/sample - loss: 0.1587 - accuracy: 0.9549
Test accuracy: 95.3%