addmm

dragon.vm.torch.addmm(
  input,
  mat1,
  mat2,
  beta=1,
  alpha=1,
  out=None
)[source]

Add input to the result of matrix-matrix multiplication.

\[\text{out} = \alpha (\text{mat1} \times \text{mat2}) + \beta \text{input} \]
Parameters:
Returns:

dragon.vm.torch.Tensor – The output tensor.