Data Parallel Extension for NumPy
Overview
Quick Start Guide
API Reference
Multi-Dimensional Array (ndarray)
dpnp.ndarray
dpnp.dpnp_array.dpnp_array
Constructing arrays
Indexing arrays
Array attributes
Memory layout
dpnp.ndarray.flags
dpnp.ndarray.shape
dpnp.ndarray.strides
dpnp.ndarray.ndim
dpnp.ndarray.size
dpnp.ndarray.itemsize
dpnp.ndarray.nbytes
Data type
Other attributes
Array methods
Array conversion
Shape manipulation
Item selection and manipulation
Calculation
Arithmetic, matrix multiplication, and comparison operations
Special methods
Universal Functions (ufunc)
Routines
Special Functions
Available array data types
Comparison Table NumPy/ DPNP/ CuPy
Miscellaneous routines
Development information
C++ backend API Reference
Data Parallel Extension for NumPy
API Reference
Multi-Dimensional Array (ndarray)
dpnp.ndarray.nbytes
View page source
dpnp.ndarray.nbytes
property
property
ndarray.
nbytes
Total bytes consumed by the elements of the array.