mm¶
dragon.vm.torch.
mm
(
input,
mat2,
out=None
)[source]¶Compute the matrix-matrix multiplication.
\[\text{out} = \text{input} \times \text{mat2} \]- Parameters:
- input (dragon.vm.torch.Tensor) – The first matrix.
- mat2 (dragon.vm.torch.Tensor) – The second matrix.
- out (dragon.vm.torch.Tensor, optional) – The output tensor.
- Returns:
dragon.vm.torch.Tensor – The output tensor.