Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 445577d

Browse files
committed
correct tf types
1 parent 0094bf0 commit 445577d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebooks/3 - Neural Networks/alexnet.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@
8989
"outputs": [],
9090
"source": [
9191
"# tf Graph input\n",
92-
"x = tf.placeholder(tf.types.float32, [None, n_input])\n",
93-
"y = tf.placeholder(tf.types.float32, [None, n_classes])\n",
92+
"x = tf.placeholder(tf.float32, [None, n_input])\n",
93+
"y = tf.placeholder(tf.float32, [None, n_classes])\n",
9494
"keep_prob = tf.placeholder(tf.types.float32) # dropout (keep probability)"
9595
]
9696
},

0 commit comments

Comments
 (0)