ONE - On-device Neural Engine
|
Class to generate FC-Gelu-FC from a certain Op pattern. More...
#include <ReplaceWithFCGeluFCPass.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 generate FC-Gelu-FC from a certain Op pattern.
To see the target Op pattern, please visit implementation. NOTE: The target pattern includes FC fused with div/mul Ops.
Definition at line 31 of file ReplaceWithFCGeluFCPass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 33 of file ReplaceWithFCGeluFCPass.h.
|
finalvirtual |
Run the pass.
Implements logo::Pass.
Definition at line 299 of file ReplaceWithFCGeluFCPass.cpp.
References loco::active_nodes(), and loco::output_nodes().
Referenced by package.infer.session::inference().