dpnp.dpnp_array.dpnp_array.asnumpy¶
method
- dpnp_array.asnumpy(order='C')[source]¶
Copy content of the array into
numpy.ndarrayinstance of the same shape and data type.- Parameters:
- order{None, 'C', 'F', 'A', 'K'}, optional
The desired memory layout of the converted array. When order is
'A', it uses'F'if the array is column-major and uses'C'otherwise. And when order is'K', it keeps strides as closely as possible.Default:
'C'.
- Returns:
- outnumpy.ndarray
An instance of
numpy.ndarraypopulated with the array content.