asnumpy
Returns a dense numpy array from an arbitrary source array.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
a
|
Arbitrary object that can be converted to |
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
1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 |
|