|
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.
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(), loco::must_cast(), luci::must_cast(), and loco::output_nodes().