ONE - On-device Neural Engine
|
Class to fuse TFLSqrt that is divided(TFLDiv) by 1, into TFLRsqrt. More...
#include <FuseRsqrtPass.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 TFLSqrt that is divided(TFLDiv) by 1, into TFLRsqrt.
<BEFORE>
TFLConst(1) ---— \ A — TFLSqrt — TFLDiv — B
<AFTER>
A — TFLRsqrt — B
Definition at line 38 of file FuseRsqrtPass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 40 of file FuseRsqrtPass.h.
|
finalvirtual |
Run the pass.
Implements logo::Pass.
Definition at line 80 of file FuseRsqrtPass.cpp.
References loco::active_nodes(), and loco::output_nodes().
Referenced by package.infer.session::inference().