Searched refs:ShapeEquals (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/framework/ |
D | tensor_util_test.py | 750 self.assertTrue(tensor_util.ShapeEquals(t, [2, 2])) 751 self.assertTrue(tensor_util.ShapeEquals(t, (2, 2))) 753 tensor_util.ShapeEquals(t, tensor_shape.as_shape([2, 2]).as_proto())) 754 self.assertFalse(tensor_util.ShapeEquals(t, [5, 3])) 755 self.assertFalse(tensor_util.ShapeEquals(t, [1, 4])) 756 self.assertFalse(tensor_util.ShapeEquals(t, [4]))
|
D | tensor_util.py | 650 def ShapeEquals(tensor_proto, shape): function
|