onnx_helpers/nodes/ops/
mul.rs

1//! Mul operation.
2
3use crate::{builder, node_to_inner, nodes::Node};
4
5/// Mul node.
6pub struct Mul {
7    inner: Node,
8}
9
10impl Mul {
11    /// Creates new Mul operation.
12    #[inline(always)]
13    pub fn new<Lhs: Into<String>, Rhs: Into<String>>(lhs: Lhs, rhs: Rhs) -> Self {
14        Mul {
15            inner: builder::Node::new("Mul").input(lhs).input(rhs).build(),
16        }
17    }
18}
19
20node_to_inner!(Mul);