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.py750 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]))
Dtensor_util.py650 def ShapeEquals(tensor_proto, shape): function