I have a loop, and I am getting a 10x10 tensor for each iteration of that loop. Lets assume that I am running that loop five times, and the output after the loop completes should be the concatenation of these tensors, i.e., a size of 10x10x5. How to concatenate this?
outx = []
for i in range(5):
    tmp = net(x) # this will return a 10x10 tensor
    outx = # need to cat tmp with outx in dim=2

outx - should have a dimension of 10x10x5