I'm using numpy.
I have an ndarray with shape of [T, H, W, C] and I want to transpose it to become like: [T, C, H, W]. However, this array is huge and I want to be memory-efficient.
But I just found np.transpose to do this which is not in-place.
Why do operations like np.transpose don't have their in-place counterpart?
I used to think that any operation named np.Bar would have its in-place counterpart named np.Bar_, only to find that this is not the truth.