pub fn node_by_name(&self, name: &str) -> TractResult<&Node<TI>> {
        let id: &usize =
            self.nodes_by_name.get(name).ok_or_else(|| format!("Node named {} not found", name))?;
        Ok(&self.nodes[*id])
    }
/// Find a node by its name.
Find a node by its name.
Find a node by its name .
pub fn node_by_name(&self, name: &str) -> TractResult<&Node<TI>> {
        let id: &usize =
            self.nodes_by_name.get(name).ok_or_else(|| format!("Node named {} not found", name))?;
        Ok(&self.nodes[*id])
    }
pub fn node_by_name ( & self , name : & str ) -> TractResult < & Node < TI > > { let id : & usize = self . nodes_by_name . get ( name ) . ok_or_else ( | | format ! ( " " name ) ) ? ; Ok ( & self . nodes [ * id ] ) }
Find a node by its name.
Find a node by its name .
&self
name
&str
&self
name
&str