回答編集履歴
1
fix code
test
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
from keras.models import Model
|
6
6
|
from keras.layers import Dense, Activation, Input
|
7
7
|
|
8
|
-
inputs = Input(
|
8
|
+
inputs = Input(shape = (784,))
|
9
9
|
x = Dense(256, activation='relu')(inputs)
|
10
10
|
x = Dense(64, activation='relu')(x)
|
11
11
|
x = Dense(2, activation='relu')(x)
|