Solved by helloWorld in post #2 
              
              
                Found an answer : 
torch. addcdiv ( input ,  value=1 ,  tensor1 ,  tensor2 ,  out=None ) → Tensor 
Performs the element-wise division of  tensor1  by  tensor2 , multiply the result by the scalar  value  and add it to  input 
torch. add ( input ,  other ,  alpha=1 ,  out=None ) 
Each element of the t…