aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/graph_editor
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-10-16 18:06:20 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-10-16 18:10:53 -0700
commitecaa2eee832bd5b4286377f0f853c961c6ac2ab2 (patch)
tree892c9cc2b6cb8901dcb00ed1ea4c51b31ba6af8f /tensorflow/contrib/graph_editor
parent5c5dc8d5641b7c915f681109921dfb2b3e082a9b (diff)
math_grad: Fast path for when broadcasting is not needed.
PiperOrigin-RevId: 172407754
Diffstat (limited to 'tensorflow/contrib/graph_editor')
-rw-r--r--tensorflow/contrib/graph_editor/tests/transform_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/contrib/graph_editor/tests/transform_test.py b/tensorflow/contrib/graph_editor/tests/transform_test.py
index ab5776b9dd..ca00394388 100644
--- a/tensorflow/contrib/graph_editor/tests/transform_test.py
+++ b/tensorflow/contrib/graph_editor/tests/transform_test.py
@@ -191,14 +191,14 @@ class TransformTest(test.TestCase):
# Extract the operations.
replacement_ts = {w.value(): g}
original_mul1_grad = (ops.get_default_graph().
- get_operation_by_name("grad/mul1_grad/mul_1"))
+ get_operation_by_name("grad/mul1_grad/Mul_1"))
# Should not raise exception.
res = ge.graph_replace(g, replacement_ts, dst_scope="res")
# Extract the operations after graph_replace.
result_mul1_grad = (ops.get_default_graph().
- get_operation_by_name("res/grad/mul1_grad/mul_1"))
+ get_operation_by_name("res/grad/mul1_grad/Mul_1"))
# Make sure _original_ops are as expected.
self.assertEquals(original_mul1_grad._original_op.name, u"mul1")