ONE - On-device Neural Engine
Loading...
Searching...
No Matches
exo::NodeSummaryBuilder Class Referencefinal

#include <ExoFormattedGraph.h>

Collaboration diagram for exo::NodeSummaryBuilder:

Public Member Functions

 NodeSummaryBuilder (const locop::SymbolTable *tbl)
 
bool build (const loco::Node *node, locop::NodeSummary &s) const final
 
- Public Member Functions inherited from locop::NodeSummaryBuilder
virtual ~NodeSummaryBuilder ()=default
 

Detailed Description

Definition at line 27 of file ExoFormattedGraph.h.

Constructor & Destructor Documentation

◆ NodeSummaryBuilder()

exo::NodeSummaryBuilder::NodeSummaryBuilder ( const locop::SymbolTable tbl)
inline

Definition at line 30 of file ExoFormattedGraph.h.

30 : _tbl{tbl}
31 {
32 // DO NOTHING
33 }

Member Function Documentation

◆ build()

bool exo::NodeSummaryBuilder::build ( const loco::Node node,
locop::NodeSummary s 
) const
finalvirtual

Implements locop::NodeSummaryBuilder.

Definition at line 500 of file ExoFormattedGraph.cpp.

501{
502 if (locop::CanonicalNodeSummaryBuilder(_tbl).build(node, s))
503 {
504 return true;
505 }
506
507 if (TFLNodeSummaryBuilder(_tbl).build(node, s))
508 {
509 return true;
510 }
511
512 if (CircleNodeSummaryBuilder(_tbl).build(node, s))
513 {
514 return true;
515 }
516
517 if (locoex::COpNodeSummaryBuilder(_tbl).build(node, s))
518 {
519 return true;
520 }
521
522 return false;
523}
bool build(const loco::Node *node, locop::NodeSummary &s) const final
Built-in Node Summary Builder for Canonical Dialect.

References build().

Referenced by build().


The documentation for this class was generated from the following files: