Suppose we have a tensor with dimension of [2, 1, 2, 10] and we want to add 3 columns between columns 3,4 and columns 5,6 and columns 8,9.
Is it possible to add these columns to the tensor without any loop?
If not, according to https://discuss.pytorch.org/t/how-can-i-insert-a-row-into-a-floattensor/18049/2 it needs 2 cat operations for adding each new column; is there any faster methods for doing it?