Skip to content

Commit b9dfc72

Browse files
authored
Remove itemset and newbyteorder methods of dpnp.ndarray (#2141)
1 parent bb89690 commit b9dfc72

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

doc/reference/ndarray.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ Array conversion
134134

135135
dpnp.ndarray.item
136136
dpnp.ndarray.tolist
137-
dpnp.ndarray.itemset
138137
dpnp.ndarray.tostring
139138
dpnp.ndarray.tobytes
140139
dpnp.ndarray.tofile

dpnp/dpnp_array.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,8 +1087,6 @@ def item(self, id=None):
10871087

10881088
return self.flat[id]
10891089

1090-
# 'itemset',
1091-
10921090
@property
10931091
def itemsize(self):
10941092
"""Size of one array element in bytes."""
@@ -1193,8 +1191,6 @@ def ndim(self):
11931191

11941192
return self._array_obj.ndim
11951193

1196-
# 'newbyteorder',
1197-
11981194
def nonzero(self):
11991195
"""
12001196
Return the indices of the elements that are non-zero.

0 commit comments

Comments
 (0)