Skip to content

Commit 0094bf0

Browse files
committed
Correct tf types
1 parent 3411540 commit 0094bf0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/3 - Neural Networks/alexnet.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
dropout = 0.8 # Dropout, probability to keep units
2626

2727
# 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)
28+
x = tf.placeholder(tf.float32, [None, n_input])
29+
y = tf.placeholder(tf.float32, [None, n_classes])
30+
keep_prob = tf.placeholder(tf.float32) # dropout (keep probability)
3131

3232
# Create AlexNet model
3333
def conv2d(name, l_input, w, b):

0 commit comments

Comments
 (0)