Searched refs:ShapeEquals (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/framework/ |
D | tensor_util_test.py | 791 self.assertTrue(tensor_util.ShapeEquals(t, [2, 2])) 792 self.assertTrue(tensor_util.ShapeEquals(t, (2, 2))) 794 tensor_util.ShapeEquals(t, tensor_shape.as_shape([2, 2]).as_proto())) 795 self.assertFalse(tensor_util.ShapeEquals(t, [5, 3])) 796 self.assertFalse(tensor_util.ShapeEquals(t, [1, 4])) 797 self.assertFalse(tensor_util.ShapeEquals(t, [4]))
|
D | tensor_util.py | 655 def ShapeEquals(tensor_proto, shape): function
|