baddbmm

dragon.vm.torch.baddbmm(
  input,
  batch1,
  batch2,
  beta=1,
  alpha=1,
  out=None
)[source]

Add input to the result of batched matrix-matrix multiplication.

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

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