pub fn print_node<TI, M, P>(
    node: &Node<TI>,
    graph: &SomeGraphDef,
    state: Option<&SimpleState<TI, M, P>>,
    status: &[impl AsRef<str>],
    sections: Vec<Vec<Row>>,
) where
    TI: TensorInfo,
    M: Borrow<Model<TI>>,
    P: Borrow<SimplePlan<TI, M>>,
{
    format::print_box(
        &format!("{}", node.id),
        &node.op.name(),
        &node.name,
        &status,
        [format::node_info(&node, &graph, state), sections].concat(),
    );
}
/// Prints information about a node.
Prints information about a node.
Prints information about a node .
pub fn print_node<TI, M, P>(
    node: &Node<TI>,
    graph: &SomeGraphDef,
    state: Option<&SimpleState<TI, M, P>>,
    status: &[impl AsRef<str>],
    sections: Vec<Vec<Row>>,
) where
    TI: TensorInfo,
    M: Borrow<Model<TI>>,
    P: Borrow<SimplePlan<TI, M>>,
{
    format::print_box(
        &format!("{}", node.id),
        &node.op.name(),
        &node.name,
        &status,
        [format::node_info(&node, &graph, state), sections].concat(),
    );
}
pub fn print_node < TI , M , P > ( node : & Node < TI > , graph : & SomeGraphDef , state : Option < & SimpleState < TI , M , P > > , status : & [ impl AsRef < str > ] , sections : Vec < Vec < Row > > , ) where TI : TensorInfo , M : Borrow < Model < TI > > , P : Borrow < SimplePlan < TI , M > > , { format :: print_box ( & format ! ( " " node id ) , & node . op . name ( ) , & node . name , & status , [ format :: node_info ( & node , & graph , state ) , sections ] . concat ( ) , ) ; }
Prints information about a node.
Prints information about a node .
node
&Node<TI>
graph
&SomeGraphDef
state
Option<&SimpleState<TI, M, P>>
status
&[impl AsRef<str>]
sections
Vec<Vec<Row>>
node
&Node<TI>
graph
&SomeGraphDef
state
Option<&SimpleState<TI, M, P>>
status
&[impl AsRef<str>]
sections
Vec<Vec<Row>>