Skip to content

Commit 3411540

Browse files
committed
Correct tf types
1 parent 742675d commit 3411540

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/3 - Neural Networks/convolutional_network.py

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

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

3131
# Create model
3232
def conv2d(img, w, b):

0 commit comments

Comments
 (0)