But what I see from pytorch doc is that " torch.addmm( beta=1 ,  mat ,  alpha=1 ,  mat1 ,  mat2 ,  out=None )" in which M，mat1 and mat2 should be seen as beta, mat and alpha. I run the example on my pc, it just works as you say, but I don’t understand why it works. Please cure my confusion. Thanks