aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/examples/udacity
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-12-06 18:25:37 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-12-06 18:44:18 -0800
commitd4eb834824d79c6a64a3c4a1c4a88b434b73e63e (patch)
tree3a6a417a668e79bc588929450f1f7794bb9eee2c /tensorflow/examples/udacity
parent7b306e8fcfb6db3f438c27e437194e78c1d73e23 (diff)
Switch all tf.concat(concat_dim, value, name) calls in third_party/tensorflow to tf.concat_v2(value, axis, name).
Change: 141255675
Diffstat (limited to 'tensorflow/examples/udacity')
-rw-r--r--tensorflow/examples/udacity/6_lstm.ipynb6
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/examples/udacity/6_lstm.ipynb b/tensorflow/examples/udacity/6_lstm.ipynb
index 6a9a5be964..159182c3fa 100644
--- a/tensorflow/examples/udacity/6_lstm.ipynb
+++ b/tensorflow/examples/udacity/6_lstm.ipynb
@@ -573,10 +573,10 @@
" with tf.control_dependencies([saved_output.assign(output),\n",
" saved_state.assign(state)]):\n",
" # Classifier.\n",
- " logits = tf.nn.xw_plus_b(tf.concat(0, outputs), w, b)\n",
+ " logits = tf.nn.xw_plus_b(tf.concat_v2(outputs, 0), w, b)\n",
" loss = tf.reduce_mean(\n",
" tf.nn.softmax_cross_entropy_with_logits(\n",
- " logits, tf.concat(0, train_labels)))\n",
+ " logits, tf.concat_v2(train_labels, 0)))\n",
"\n",
" # Optimizer.\n",
" global_step = tf.Variable(0)\n",
@@ -1066,4 +1066,4 @@
]
}
]
-} \ No newline at end of file
+}