mul¶
- dragon.vm.torch.- mul(
 input,
 other,
 out=None
 )[source]¶
- Compute the element-wise multiplication. \[\text{out} = \text{input} \times \text{other} \]- Parameters:
- input (dragon.vm.torch.Tensor) – The input tensor.
- other (Union[dragon.vm.torch.Tensor, number]) – The tensor to multiply.
- out (dragon.vm.torch.Tensor, optional) – The output tensor.
 
 - Returns:
- dragon.vm.torch.Tensor – The output tensor. 
 
