Skip to content

Commit ec11ecd

Browse files
committed
update keras example
1 parent a34a153 commit ec11ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/tutorial_keras.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
x = tf.placeholder(tf.float32, shape=[None, 784])
1919
y_ = tf.placeholder(tf.int64, shape=[None,])
2020

21-
def keras_block(x, is_train=True):
21+
def keras_block(x):
2222
x = Dropout(0.8)(x)
2323
x = Dense(800, activation='relu')(x)
2424
x = Dropout(0.5)(x)

0 commit comments

Comments
 (0)