ONE - On-device Neural Engine
|
Class to Remove Unnecessary(input and output are same) StridedSlice node. More...
#include <RemoveUnnecessaryStridedSlicePass.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 Remove Unnecessary(input and output are same) StridedSlice node.
Definition at line 28 of file RemoveUnnecessaryStridedSlicePass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 30 of file RemoveUnnecessaryStridedSlicePass.h.
|
finalvirtual |
BEFORE
[CircleNode] | [CircleStridedSlice] | [CircleNode]
AFTER
[CircleNode] | [CircleNode] [CircleStridedSlice]
StridedSlice OP has no effect if,
StridedSlice OP has effect if,
Implements logo::Pass.
Definition at line 111 of file RemoveUnnecessaryStridedSlicePass.cpp.
References loco::active_nodes(), and loco::output_nodes().
Referenced by package.infer.session::inference().