mlx.core.contiguous# contiguous(a: array, /, allow_col_major: bool = False, *, stream: None | Stream | Device = None) → array# Force an array to be row contiguous. Copy if necessary. Parameters: a (array) – The input to make contiguous allow_col_major (bool) – Consider column major as contiguous and don’t copy Returns: The row or col contiguous output. Return type: array