ONE - On-device Neural Engine
|
Performs constant folding optimization. More...
#include <ConstantFoldingPass.h>
Public Member Functions | |
const char * | name (void) const final |
bool | run (loco::Graph *graph) override |
Run the pass. | |
Public Member Functions inherited from logo::Pass | |
virtual | ~Pass ()=default |
Performs constant folding optimization.
Definition at line 30 of file ConstantFoldingPass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 33 of file ConstantFoldingPass.h.
|
overridevirtual |
Run the pass.
Implements logo::Pass.
Definition at line 155 of file ConstantFoldingPass.cpp.
References loco::output_nodes(), and loco::postorder_traversal().
Referenced by package.infer.session::inference().