The size of tensor must match the size of tensor b at non-singleton dimension

Did you find out the answer? I have the same issue