ONE - On-device Neural Engine
|
Class to fuse activation functions into preceding operators. More...
#include <FuseActivationFunctionPass.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 activation functions into preceding operators.
Definition at line 28 of file FuseActivationFunctionPass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 30 of file FuseActivationFunctionPass.h.
|
finalvirtual |
Run the pass.
Implements logo::Pass.
Definition at line 92 of file FuseActivationFunctionPass.cpp.
References loco::active_nodes(), luci::fuse_activation_function(), luci::CircleNode::opcode(), and loco::output_nodes().
Referenced by package.infer.session::inference().