def test_array_equal(setup): a = ones((10, 5), chunk_size=4) b = ones((10, 5), chunk_size=5) c = array_equal(a, b) assert c.execute().fetch()
def testArrayEqual(self): a = ones((10, 5), chunk_size=1) b = ones((10, 5), chunk_size=2) c = array_equal(a, b) res = bool(self.executor.execute_tensor(c)[0]) self.assertTrue(res)