ONE - On-device Neural Engine
Loading...
Searching...
No Matches
moco::tf::MocoNodeSummaryBuilder Class Referencefinal

#include <TFFormattedGraph.h>

Collaboration diagram for moco::tf::MocoNodeSummaryBuilder:

Public Member Functions

 MocoNodeSummaryBuilder (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 29 of file TFFormattedGraph.h.

Constructor & Destructor Documentation

◆ MocoNodeSummaryBuilder()

moco::tf::MocoNodeSummaryBuilder::MocoNodeSummaryBuilder ( const locop::SymbolTable tbl)
inline

Definition at line 32 of file TFFormattedGraph.h.

32 : _tbl{tbl}
33 {
34 // DO NOTHING
35 }

Member Function Documentation

◆ build()

bool moco::tf::MocoNodeSummaryBuilder::build ( const loco::Node node,
locop::NodeSummary s 
) const
finalvirtual

Implements locop::NodeSummaryBuilder.

Definition at line 379 of file TFFormattedGraph.cpp.

380{
381 if (locop::CanonicalNodeSummaryBuilder(_tbl).build(node, s))
382 {
383 return true;
384 }
385
386 if (TFNodeSummaryBuilder(_tbl).build(node, s))
387 {
388 return true;
389 }
390
391 if (locoex::COpNodeSummaryBuilder(_tbl).build(node, s))
392 {
393 return true;
394 }
395
396 return false;
397}
Built-in Node Summary Builder for Canonical Dialect.
bool build(const loco::Node *node, locop::NodeSummary &s) const final

References build().

Referenced by build().


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