ONE - On-device Neural Engine
|
Class to replace "FC with non-const weight" with Batched MatMul. More...
#include <ReplaceNonConstFCWithBatchMatMulPass.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 replace "FC with non-const weight" with Batched MatMul.
Definition at line 28 of file ReplaceNonConstFCWithBatchMatMulPass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 30 of file ReplaceNonConstFCWithBatchMatMulPass.h.
|
finalvirtual |
Run the pass.
Implements logo::Pass.
Definition at line 230 of file ReplaceNonConstFCWithBatchMatMulPass.cpp.
References loco::active_nodes(), and loco::output_nodes().
Referenced by package.infer.session::inference().