ONE - On-device Neural Engine
|
Class to fuse TFLTranspose + TFLConst into one equivalent TFLConst. More...
#include <FoldTransposeOfConstPass.h>
Public Member Functions | |
const char * | name (void) const final |
bool | run (loco::Graph *g) final |
Run the pass. | |
Public Member Functions inherited from logo::Pass | |
virtual | ~Pass ()=default |
Class to fuse TFLTranspose + TFLConst into one equivalent TFLConst.
<before> TFLConst — TFLTranspose — Out
<after> TFLConst — TFLTranspose — TFLConst (new) -----------— Out
TODO This pass is for temporary. Deprecate this pass.
Definition at line 37 of file FoldTransposeOfConstPass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 39 of file FoldTransposeOfConstPass.h.
|
finalvirtual |
Run the pass.
Implements logo::Pass.
Definition at line 139 of file FoldTransposeOfConstPass.cpp.
References loco::active_nodes(), and loco::output_nodes().
Referenced by package.infer.session::inference().