ONE - On-device Neural Engine
|
fuse or remove subsequent Transpose operators More...
#include <RemoveRedundantTransposePass.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 |
fuse or remove subsequent Transpose operators
Definition at line 28 of file RemoveRedundantTransposePass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 30 of file RemoveRedundantTransposePass.h.
|
finalvirtual |
BEFORE | [CircleNode] [CircleConst] | (pred_perm) \ / [CircleTranspose] [CircleConst] (pred_node) (target_perm) \ / [CircleTranspose] (target_node) |
AFTER | | [CircleNode] [CircleConst](new) | \ / or [CircleNode] [CircleTranspose](new) | | |
Implements logo::Pass.
Definition at line 116 of file RemoveRedundantTransposePass.cpp.
References loco::active_nodes(), and loco::output_nodes().
Referenced by package.infer.session::inference().