ONE - On-device Neural Engine
|
Class to fuse certain pattern of subgraph into CircleBCQFullyConnected or CircleBCQGather. More...
#include <FuseBCQPass.h>
Public Member Functions | |
const char * | name (void) const final |
bool | run (luci::Module *m) 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 CircleBCQFullyConnected or CircleBCQGather.
Definition at line 29 of file FuseBCQPass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 31 of file FuseBCQPass.h.
|
finalvirtual |
Run the pass.
Implements logo::Pass.
Definition at line 692 of file FuseBCQPass.cpp.
Referenced by package.infer.session::inference().
|
finalvirtual |
Implements luci::Pass.
Definition at line 613 of file FuseBCQPass.cpp.
References luci::CircleConst::at(), loco::NodePool::create(), luci::CircleOutput::from(), luci::CircleOutput::index(), LOGGER, m, loco::Graph::nodes(), luci::output_node(), loco::output_nodes(), luci::CircleConst::size(), and WARN.
Referenced by package.infer.session::inference().