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 ({'C', 'F', 'A', 'K'}) -- The desired memory layout of the converted array. When order is
A, it usesFif a is column-major and usesCotherwise. And when order isK, it keeps strides as closely as possible.
- Returns:
out -- NumPy interpretation of input array a.
- Return type:
Notes
This function works exactly the same as
numpy.asarray.