ONE - On-device Neural Engine
|
Class to Substitute Pack with 1 input to single reshape node. More...
#include <SubstitutePackToReshapePass.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 Substitute Pack with 1 input to single reshape node.
Definition at line 28 of file SubstitutePackToReshapePass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 30 of file SubstitutePackToReshapePass.h.
|
finalvirtual |
BEFORE | [CircleNode] | [CirclePack] | [CircleNode] |
AFTER | [CircleNode] [CircleConst] | \ / [CirclePack] [CircleReshape] | [CircleNode] |
Implements logo::Pass.
Definition at line 113 of file SubstitutePackToReshapePass.cpp.
References loco::active_nodes(), and loco::output_nodes().
Referenced by package.infer.session::inference().