ONE - On-device Neural Engine
|
Class to fold Gather to a constant tensor. More...
#include <FoldGatherPass.h>
Public Member Functions | |
const char * | name (void) const final |
bool | run (loco::Graph *g) final |
Public Member Functions inherited from logo::Pass | |
virtual | ~Pass ()=default |
Class to fold Gather to a constant tensor.
Definition at line 29 of file FoldGatherPass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 31 of file FoldGatherPass.h.
|
finalvirtual |
Constant Folding for Gather Op
Implements logo::Pass.
Definition at line 169 of file FoldGatherPass.cpp.
References loco::active_nodes(), and loco::output_nodes().
Referenced by package.infer.session::inference().