Spaces:
Sleeping
Sleeping
Update modelutil.py
Browse files- modelutil.py +1 -3
modelutil.py
CHANGED
@@ -2,10 +2,8 @@ import tensorflow as tf
|
|
2 |
|
3 |
def create_model():
|
4 |
|
5 |
-
LAYERS = [
|
6 |
-
tf.keras.layers.Flatten(input_shape=[28,28], name="inputlayer"),
|
7 |
tf.keras.layers.Dense(300, activation='relu', name="hiddenlayer1"),
|
8 |
-
tf.keras.layers.Dense(256, activation='relu', name="hiddenlayer1"),
|
9 |
tf.keras.layers.Dense(128, activation='relu', name="hiddenlayer2"),
|
10 |
tf.keras.layers.Dense(10, activation='softmax', name="outputlayer")]
|
11 |
|
|
|
2 |
|
3 |
def create_model():
|
4 |
|
5 |
+
LAYERS = [tf.keras.layers.Flatten(input_shape=[28,28], name="inputlayer"),
|
|
|
6 |
tf.keras.layers.Dense(300, activation='relu', name="hiddenlayer1"),
|
|
|
7 |
tf.keras.layers.Dense(128, activation='relu', name="hiddenlayer2"),
|
8 |
tf.keras.layers.Dense(10, activation='softmax', name="outputlayer")]
|
9 |
|