The type of various tensors in the following order is shown below.
x1,x2,y1,y2,loss1,loss2.
torch.cuda.FloatTensor torch.cuda.FloatTensor torch.cuda.LongTensor torch.cuda.LongTensor torch.cuda.FloatTensor torch.cuda.FloatTensor