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
Data type
Other attributes
dpnp.ndarray.T
dpnp.ndarray.mT
dpnp.ndarray.real
dpnp.ndarray.imag
dpnp.ndarray.flat
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.flat
View page source
dpnp.ndarray.flat
property
ndarray.
flat
Return a flat iterator, or set a flattened version of self to value.