aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/profiler
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <bsteiner@google.com>2018-05-03 13:09:28 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-05-03 13:42:35 -0700
commit278e68cedbb80c6f3342856bfccf688a808e461a (patch)
tree856a14addc9b40c9e39802c7447edfab2c66e959 /tensorflow/python/profiler
parentfded0f901c99087b100191273e28692f9b4569ee (diff)
Simplified the implementation of shape_n since the optimized code path isn't needed anymore and can be incorrect in some rare cases.
PiperOrigin-RevId: 195298813
Diffstat (limited to 'tensorflow/python/profiler')
-rw-r--r--tensorflow/python/profiler/model_analyzer_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/profiler/model_analyzer_test.py b/tensorflow/python/profiler/model_analyzer_test.py
index 04ba28c219..75580fc630 100644
--- a/tensorflow/python/profiler/model_analyzer_test.py
+++ b/tensorflow/python/profiler/model_analyzer_test.py
@@ -232,7 +232,7 @@ class PrintModelAnalysisTest(test.TestCase):
self.assertLess(0, tfprof_node.total_exec_micros)
self.assertEqual(2844, tfprof_node.total_parameters)
- self.assertLess(168800, tfprof_node.total_float_ops)
+ self.assertLess(145660, tfprof_node.total_float_ops)
self.assertEqual(8, len(tfprof_node.children))
self.assertEqual('_TFProfRoot', tfprof_node.name)
self.assertEqual(