dpnp.asnumpy¶
- dpnp.asnumpy(a, order='C')[source]¶
Returns the NumPy array with input data.
- Parameters:
- a{array_like}
Arbitrary object that can be converted to
numpy.ndarray.- order{None, 'C', 'F', 'A', 'K'}, optional
The desired memory layout of the converted array. When order is
'A', it uses'F'if a is column-major and uses'C'otherwise. And when order is'K', it keeps strides as closely as possible.Default:
'C'.
- Returns:
- outnumpy.ndarray
NumPy interpretation of input array a.
Notes
This function works exactly the same as
numpy.asarray.