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