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