浏览代码

correct tf types

Aymeric Damien 9 年之前
父节点
当前提交
a443ec682b
共有 1 个文件被更改,包括 2 次插入2 次删除
  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)"
    ]
   },