소스 검색

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