ONE - On-device Neural Engine
|
Class to Fold Densify if input is Sparse Constant. More...
#include <FoldDensifyPass.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 Fold Densify if input is Sparse Constant.
Definition at line 29 of file FoldDensifyPass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 31 of file FoldDensifyPass.h.
|
finalvirtual |
BEFORE
[CircleConst](sparse) | [CircleDensify] | [CircleNode] |
AFTER
[CircleConst](dense) [CircleConst](sparse) | | [CircleNode] [CircleDensify] |
Implements logo::Pass.
Definition at line 164 of file FoldDensifyPass.cpp.
References loco::active_nodes(), and loco::output_nodes().
Referenced by package.infer.session::inference().