Skip to content

Commit 8bebd8d

Browse files
committed
float16 example
1 parent dfebf9a commit 8bebd8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/tutorial_mnist_float16.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
sess = tf.InteractiveSession()
1414

1515
batch_size = 128
16-
D_TYPE = tf.float32 # tf.float32 tf.float16
16+
D_TYPE = tf.float16 # tf.float32 tf.float16
1717

1818
x = tf.placeholder(D_TYPE, shape=[batch_size, 28, 28, 1])
1919
y_ = tf.placeholder(tf.int64, shape=[batch_size,])

0 commit comments

Comments
 (0)