ONE - On-device Neural Engine
|
Class to fold Shape to a constant tensor. More...
#include <FoldShapePass.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 Shape to a constant tensor.
Definition at line 28 of file FoldShapePass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 30 of file FoldShapePass.h.
|
finalvirtual |
BEFORE
[CircleNode] | [CircleShape] | [CircleNode]
AFTER
[CircleConst] [CircleNode] | [CircleNode]
Implements logo::Pass.
Definition at line 91 of file FoldShapePass.cpp.
References loco::active_nodes(), luci::CircleShape::out_type(), and loco::output_nodes().
Referenced by package.infer.session::inference().