No, I don’t have fixed tensors. But at each iteration, I have a number of tensors which I concatenate either by torch.cat, or by torch.stack. for your above explanation, I can’t understand it. Is the time complexity worth O (n) or O (n ^ 2)?