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