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:
out -- NumPy interpretation of input array a.
- Return type:
Notes
This function works exactly the same as
numpy.asarray
.