pub fn single_unary_op<O: Into<Box<Op>>>(
        patched_model: &Model<TI>,
        node: &Node<TI>,
        new_op: O,
    ) -> TractResult<ModelPatch<TI>> {
        Self::replace_single_op(patched_model, node, &[node.inputs[0]], new_op)
    }
/// Convenience method creating a patch that replace a single unary operation.
Convenience method creating a patch that replace a single unary operation.
Convenience method creating a patch that replace a single unary operation .
pub fn single_unary_op<O: Into<Box<Op>>>(
        patched_model: &Model<TI>,
        node: &Node<TI>,
        new_op: O,
    ) -> TractResult<ModelPatch<TI>> {
        Self::replace_single_op(patched_model, node, &[node.inputs[0]], new_op)
    }
pub fn single_unary_op < O : Into < Box < Op > > > ( patched_model : & Model < TI > , node : & Node < TI > , new_op : O , ) -> TractResult < ModelPatch < TI > > { Self :: replace_single_op ( patched_model , node , & [ node . inputs [ 0 ] ] , new_op ) }
Convenience method creating a patch that replace a single unary operation.
Convenience method creating a patch that replace a single unary operation .
patched_model
&Model<TI>
node
&Node<TI>
new_op
O
patched_model
&Model<TI>
node
&Node<TI>
new_op
O