Solved by KFrank in post #2 
              
              
                Hello Clover! 

There are two things going on: 
First, many pytorch tensor functions that act on two (or more) 
tensors require the tensors to be of the same type.  So MSELoss() 
doesn’t want you to mix tensors of differing types. 
Second, many pytorch tensor functions require arguments of 
specific…