From ab2ccdb08f3adf2e3c4199cc49f7884fc1af0fce Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Thu, 31 Oct 2024 13:55:20 +0100 Subject: [PATCH] Remove itemset and newbyteorder methods of dpnp.ndarray --- doc/reference/ndarray.rst | 1 - dpnp/dpnp_array.py | 4 ---- 2 files changed, 5 deletions(-) diff --git a/doc/reference/ndarray.rst b/doc/reference/ndarray.rst index c130bcf6c5f7..559723120b1e 100644 --- a/doc/reference/ndarray.rst +++ b/doc/reference/ndarray.rst @@ -134,7 +134,6 @@ Array conversion dpnp.ndarray.item dpnp.ndarray.tolist - dpnp.ndarray.itemset dpnp.ndarray.tostring dpnp.ndarray.tobytes dpnp.ndarray.tofile diff --git a/dpnp/dpnp_array.py b/dpnp/dpnp_array.py index 1dde60771dc9..8b14db7caba7 100644 --- a/dpnp/dpnp_array.py +++ b/dpnp/dpnp_array.py @@ -1087,8 +1087,6 @@ def item(self, id=None): return self.flat[id] - # 'itemset', - @property def itemsize(self): """Size of one array element in bytes.""" @@ -1193,8 +1191,6 @@ def ndim(self): return self._array_obj.ndim - # 'newbyteorder', - def nonzero(self): """ Return the indices of the elements that are non-zero.