@@ -66,7 +66,11 @@ of the array:
66
66
dpnp.ndarray.size
67
67
dpnp.ndarray.itemsize
68
68
dpnp.ndarray.nbytes
69
- dpnp.ndarray.base
69
+ dpnp.ndarray.device
70
+ dpnp.ndarray.sycl_context
71
+ dpnp.ndarray.sycl_device
72
+ dpnp.ndarray.sycl_queue
73
+ dpnp.ndarray.usm_type
70
74
71
75
72
76
Data type
@@ -98,6 +102,17 @@ Other attributes
98
102
dpnp.ndarray.flat
99
103
100
104
105
+ Special attributes
106
+ ------------------
107
+
108
+ .. autosummary ::
109
+ :toctree: generated/
110
+ :nosignatures:
111
+
112
+ dpnp.ndarray.__sycl_usm_array_interface__
113
+ dpnp.ndarray.__usm_ndarray__
114
+
115
+
101
116
Array methods
102
117
-------------
103
118
@@ -145,6 +160,7 @@ Array conversion
145
160
dpnp.ndarray.getfield
146
161
dpnp.ndarray.setflags
147
162
dpnp.ndarray.fill
163
+ dpnp.ndarray.get_array
148
164
149
165
150
166
Shape manipulation
@@ -371,7 +387,10 @@ Basic customization:
371
387
372
388
dpnp.ndarray.__new__
373
389
dpnp.ndarray.__array__
390
+ dpnp.ndarray.__array_namespace__
374
391
dpnp.ndarray.__array_wrap__
392
+ dpnp.ndarray.__dlpack__
393
+ dpnp.ndarray.__dlpack_device__
375
394
376
395
Container customization: (see :ref: `Indexing <routines.indexing >`)
377
396
@@ -380,19 +399,21 @@ Container customization: (see :ref:`Indexing <routines.indexing>`)
380
399
:nosignatures:
381
400
382
401
dpnp.ndarray.__len__
402
+ dpnp.ndarray.__iter__
383
403
dpnp.ndarray.__getitem__
384
404
dpnp.ndarray.__setitem__
385
405
dpnp.ndarray.__contains__
386
406
387
- Conversion; the operations :class: `int() <int> `,
388
- :class: `float () <float > ` and :class: ` complex () <complex > `.
407
+ Conversion; the operations :class: `int() <int> `, :class: ` float() <float> `,
408
+ :class: `complex () <complex > ` and :func: ` operator.index () <index > `.
389
409
They work only on arrays that have one element in them
390
410
and return the appropriate scalar.
391
411
392
412
.. autosummary ::
393
413
:toctree: generated/
394
414
:nosignatures:
395
415
416
+ dpnp.ndarray.__index__
396
417
dpnp.ndarray.__int__
397
418
dpnp.ndarray.__float__
398
419
dpnp.ndarray.__complex__
0 commit comments