We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfebf9a commit 8bebd8dCopy full SHA for 8bebd8d
example/tutorial_mnist_float16.py
@@ -13,7 +13,7 @@
13
sess = tf.InteractiveSession()
14
15
batch_size = 128
16
-D_TYPE = tf.float32 # tf.float32 tf.float16
+D_TYPE = tf.float16 # tf.float32 tf.float16
17
18
x = tf.placeholder(D_TYPE, shape=[batch_size, 28, 28, 1])
19
y_ = tf.placeholder(tf.int64, shape=[batch_size,])
0 commit comments