"vscode:/vscode.git/clone" did not exist on "3d29ab2098118b7c94ed969dfc7cb9871dc5d296"
Commit 320545f0 authored by Neal Wu's avatar Neal Wu
Browse files

Update tf.concat_v2 to tf.concat

parent e2ecda2c
......@@ -124,7 +124,7 @@ def average_gradients(tower_grads):
grads.append(expanded_g)
# Average over the 'tower' dimension.
grad = tf.concat_v2(grads, 0)
grad = tf.concat(grads, 0)
grad = tf.reduce_mean(grad, 0)
# Keep in mind that the Variables are redundant because they are shared
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment