asnumpy
Returns a dense numpy array from an arbitrary source array.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
a |
Arbitrary object that can be converted to numpy.ndarray. |
required | |
order |
The desired memory layout of the output
array. When |
None
|
Returns:
| Type | Description |
|---|---|
numpy.ndarray: Converted array on the host memory.
|
|
Source code in sparse/numba_backend/_common.py
1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 | |