```np.arange``` will produce 64 bit integers. setting a stride to ```4``` is only valid for 32 bit dtypes.
– KevinMay 12 '21 at 16:34
2
That's a dange of `as_strided`. If you don't get the strides and shape right, you can sample bytes outside the array's data buffer. Shape should be (10,3).
– hpauljMay 12 '21 at 16:35