This is documentation for an old release of NumPy (version 1.3.). Read this page Search for this page in the documentation of the latest stable release (version > 1.17).
numpy.ascontiguousarray
-
numpy.ascontiguousarray(a, dtype=None)
Return a contiguous array in memory (C order).
Parameters: | a : array_like
Input array.
dtype : string
Type code of returned array.
|
Returns: | out : ndarray
Contiguous array of same shape and content as a with type dtype.
|