ONE - On-device Neural Engine
|
Class to fold Reshape to a constant tensor. More...
#include <FoldReshapePass.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 Reshape to a constant tensor.
Definition at line 29 of file FoldReshapePass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 31 of file FoldReshapePass.h.
|
finalvirtual |
Constant Folding for Reshape Op
Implements logo::Pass.
Definition at line 111 of file FoldReshapePass.cpp.
References loco::active_nodes(), and loco::output_nodes().
Referenced by package.infer.session::inference().