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