|
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.
Reimplemented from logo::Pass.
Definition at line 30 of file ReplaceNonConstFCWithBatchMatMulPass.h.
|
finalvirtual |
Run the pass.
Implements logo::Pass.
Definition at line 232 of file ReplaceNonConstFCWithBatchMatMulPass.cpp.
References loco::active_nodes(), luci::must_cast(), and loco::output_nodes().