Home
last modified time | relevance | path

Searched refs:ShapeEquals (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dtensor_util_test.py791 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]))
Dtensor_util.py655 def ShapeEquals(tensor_proto, shape): function