From 0094bf0b0f574d43b57c5056232b75d5b1761cc0 Mon Sep 17 00:00:00 2001 From: Aymeric Damien Date: Sat, 30 Jan 2016 13:39:04 +0800 Subject: [PATCH] Correct tf types --- examples/3 - Neural Networks/alexnet.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/3 - Neural Networks/alexnet.py b/examples/3 - Neural Networks/alexnet.py index 3833eb0a..4f7092b5 100644 --- a/examples/3 - Neural Networks/alexnet.py +++ b/examples/3 - Neural Networks/alexnet.py @@ -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):