Skip to content

Commit 816e1d8

Browse files
authored
Update keras_train.py
1 parent e26431d commit 816e1d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LearnDigitz/keras_train.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def mlp():
5050

5151
def cnn():
5252
return Sequential([
53-
Reshape((28, 28, 1), input_shape=(784, 1)),
53+
Reshape((28, 28, 1), input_shape=(784, )),
5454
Conv2D(32, [5, 5], padding='same', activation='relu'),
5555
MaxPooling2D(strides=2),
5656
Conv2D(64, [5, 5], padding='same', activation='relu'),

0 commit comments

Comments
 (0)