asnumpy
- sparse.asnumpy(a, dtype=None, order=None)[source]
Returns a dense numpy array from an arbitrary source array.
- Parameters:
a – Arbitrary object that can be converted to
numpy.ndarray.order ({'C', 'F', 'A'}) – The desired memory layout of the output array. When
orderis ‘A’, it uses ‘F’ ifais fortran-contiguous and ‘C’ otherwise.
- Returns:
Converted array on the host memory.
- Return type: