We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3411540 commit 0094bf0Copy full SHA for 0094bf0
examples/3 - Neural Networks/alexnet.py
@@ -25,9 +25,9 @@
25
dropout = 0.8 # Dropout, probability to keep units
26
27
# tf Graph input
28
-x = tf.placeholder(tf.types.float32, [None, n_input])
29
-y = tf.placeholder(tf.types.float32, [None, n_classes])
30
-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)
31
32
# Create AlexNet model
33
def conv2d(name, l_input, w, b):
0 commit comments