Quellcode durchsuchen

correct tf types

Aymeric Damien vor 9 Jahren
Ursprung
Commit
a443ec682b
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      notebooks/3 - Neural Networks/convolutional_network.ipynb

+ 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)"
    ]
   },