We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 742675d commit 3411540Copy full SHA for 3411540
1 file changed
examples/3 - Neural Networks/convolutional_network.py
@@ -24,9 +24,9 @@
24
dropout = 0.75 # Dropout, probability to keep units
25
26
# tf Graph input
27
-x = tf.placeholder(tf.types.float32, [None, n_input])
28
-y = tf.placeholder(tf.types.float32, [None, n_classes])
29
-keep_prob = tf.placeholder(tf.types.float32) #dropout (keep probability)
+x = tf.placeholder(tf.float32, [None, n_input])
+y = tf.placeholder(tf.float32, [None, n_classes])
+keep_prob = tf.placeholder(tf.float32) #dropout (keep probability)
30
31
# Create model
32
def conv2d(img, w, b):
0 commit comments