onnx_helpers/nodes/ops/
div.rs

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