Skip to content

Commit

Permalink
Correct tf types
Browse files Browse the repository at this point in the history
  • Loading branch information
aymericdamien committed Jan 30, 2016
1 parent 3411540 commit 0094bf0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/3 - Neural Networks/alexnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
dropout = 0.8 # Dropout, probability to keep units

# tf Graph input
x = tf.placeholder(tf.types.float32, [None, n_input])
y = tf.placeholder(tf.types.float32, [None, n_classes])
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)

# Create AlexNet model
def conv2d(name, l_input, w, b):
Expand Down

0 comments on commit 0094bf0

Please sign in to comment.