Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ScorpioCPH committed May 30, 2017
1 parent 3fa01a0 commit d14da44
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
" correct_prediction = tf.equal(tf.argmax(y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"# 优化损失函数\n",
"train_step = tf.train.GradientDescentOptimizer(0.01).minimize(loss)\n",
" \n",
"# 初始化回话并开始训练过程\n",
"# 初始化会话,并开始训练过程\n",
"with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" coord = tf.train.Coordinator()\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
" correct_prediction = tf.equal(tf.argmax(y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"# 优化损失函数\n",
"train_step = tf.train.GradientDescentOptimizer(0.01).minimize(loss)\n",
" \n",
"# 初始化回话并开始训练过程\n",
"# 初始化会话,并开始训练过程\n",
"with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" coord = tf.train.Coordinator()\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
" correct_prediction = tf.equal(tf.argmax(y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
" correct_prediction = tf.equal(tf.argmax(average_y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
" correct_prediction = tf.equal(tf.argmax(y, 1), tf.argmax(y_, 1))\n",
" accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32))\n",
" \n",
" # 初始化回话并开始训练过程\n",
" # 初始化会话,并开始训练过程\n",
" with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" validate_feed = {x: mnist.validation.images, y_: mnist.validation.labels}\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"# 优化损失函数\n",
"train_step = tf.train.GradientDescentOptimizer(0.01).minimize(loss)\n",
" \n",
"# 初始化回话并开始训练过程\n",
"# 初始化会话,并开始训练过程\n",
"with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" coord = tf.train.Coordinator()\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"# 优化损失函数\n",
"train_step = tf.train.GradientDescentOptimizer(0.01).minimize(loss)\n",
" \n",
"# 初始化回话并开始训练过程\n",
"# 初始化会话,并开始训练过程\n",
"with tf.Session() as sess:\n",
" tf.global_variables_initializer().run()\n",
" coord = tf.train.Coordinator()\n",
Expand Down

0 comments on commit d14da44

Please sign in to comment.