Predict memory layout of ufunc output Predict memory layout of ufunc output numpy numpy