Make a C-contiguous copy of a.T and return its strides
NumPy · from Memory, strides and contiguity
.strides.flagsC vs F order.ravel.flattenascontiguousarray.dataPutting the kettle on…
Starting up…
Exercise 3
Make a C-contiguous copy of a.T and return its strides. They should come back different from a.T.strides — that difference is the proof the data was actually copied into a fresh block.
your answer
stuck? the lesson behind it
Memory, strides and contiguity
One number per axis that explains reshape, transpose and every free operation.