I have act[‘a’] of torch.Size([1, 64, 32, 32]) and act[‘b’] of torch.Size([1, 128, 16, 16]) and act[‘c’] of torch.Size([1, 256, 8, 8]).
and I have:
target = {'a': [], 'b': [], 'c': []}
for i in range(800):
                target['a'].append(act['a'])
                target['b'].append(act['b'])
                target['c'].append(act['c'])

so now the size of target[‘a’] is [800, 1, 64, 32, 32]. how can I reshape it to [1, 64, 800, 32, 32]?