I am trying to run this code, but I get the following error:
cx = torch.cat((cx1, cx2), dim=1)
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 1. Got 128 and 64 in dimension 2 at /pytorch/aten/src/THC/generic/THCTensorMath.cu:71
I am trying to run this code, but I get the following error:
Any idea, why is it so?