ONE - On-device Neural Engine
|
Class to remove duplicate Const nodes. More...
#include <RemoveDuplicateConstPass.h>
Public Member Functions | |
const char * | name (void) const final |
bool | run (loco::Graph *g) final |
Public Member Functions inherited from logo::Pass | |
virtual | ~Pass ()=default |
Class to remove duplicate Const nodes.
Definition at line 29 of file RemoveDuplicateConstPass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 31 of file RemoveDuplicateConstPass.h.
|
finalvirtual |
Remove duplicate Const nodes.
BEFORE [CircleNode] [CircleConst] | / | / [CircleNode] [CircleConst] | / | / [CircleNode]
AFTER
[CircleNode] [CircleConst] | / / | / / [CircleNode] / | / | / [CircleNode]
Implements logo::Pass.
Definition at line 198 of file RemoveDuplicateConstPass.cpp.
References loco::active_nodes(), and loco::output_nodes().
Referenced by package.infer.session::inference().