I found strange behaviour while adding two tensor. Here “mat” tensor is output of mathematical equation and its precision value is 0 after decimal point ( I checked by placing torch.set_printoptions(precision=10) before print). After that if i do addition for below code it gives me output “98310.1016” instead of “98310.1”. Its very simple but i don’t know from where “.1016” comes in answer instead of “.1”.
##    mat tensor([[98310., 98310., 98310.],
        [98310., 98310., 98310.],
        [98310., 98310., 98310.]], device='cuda:0')  


        e1=(torch.eye(3,3)*0.1).to(0)
        print("**e1 ",e1)
        mat=torch.add(mat,e1)