Back to Numerical Arrays (NumPy)
np.ascontiguousarray
Return a contiguous array (ndim >= 1) in memory (C order).
Syntax
np.ascontiguousarray(a, options?)
Description
Return a contiguous array (ndim >= 1) in memory (C order).
Parameters
| Name | Description |
|---|---|
| a | - Input data |
| options(optional) | - Optional configuration (dtype) |
Returns
Promise<NDArray>