|
ONE - On-device Neural Engine
|
Class to fuse certain pattern of subgraph into CircleGelu. More...
#include <FuseGeluPass.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 certain pattern of subgraph into CircleGelu.
For detailed subgraph pattern to be fused, please check its implementation.
Definition at line 30 of file FuseGeluPass.h.
Reimplemented from logo::Pass.
Definition at line 32 of file FuseGeluPass.h.
|
finalvirtual |
Run the pass.
Implements logo::Pass.
Definition at line 330 of file FuseGeluPass.cpp.
References loco::active_nodes(), luci::must_cast(), and loco::output_nodes().