Pārlūkot izejas kodu

correct tf types

Aymeric Damien 9 gadi atpakaļ
vecāks
revīzija
a443ec682b

+ 2 - 2
notebooks/3 - Neural Networks/convolutional_network.ipynb

@@ -89,8 +89,8 @@
    "outputs": [],
    "source": [
     "# tf Graph input\n",
-    "x = tf.placeholder(tf.types.float32, [None, n_input])\n",
-    "y = tf.placeholder(tf.types.float32, [None, n_classes])\n",
+    "x = tf.placeholder(tf.float32, [None, n_input])\n",
+    "y = tf.placeholder(tf.float32, [None, n_classes])\n",
     "keep_prob = tf.placeholder(tf.types.float32) #dropout (keep probability)"
    ]
   },