Searched refs:__array_interface__ (Results 1 – 3 of 3) sorted by relevance
202 assert a.__array_interface__["data"][0] == b.__array_interface__["data"][0]
2049 x_ptr = x.__array_interface__["data"][0]2053 y_ptr = y.__array_interface__["data"][0]2064 self.assertNotEqual(x.__array_interface__["data"][0],2065 z.__array_interface__["data"][0])2075 self.assertEqual(y.__array_interface__["data"][0], buffer_ptr)
584 def __array_interface__(self): member in TensorUtilTest.testArrayInterface.Wrapper585 return np.array([b"foo", b"bar", b"baz"]).__array_interface__