ONE - On-device Neural Engine
|
Remove redundant canonical FixedReshape. More...
#include <ResolveRedundantReshapePass.h>
Public Member Functions | |
const char * | name (void) const final |
bool | run (loco::Graph *graph) override |
Bypass redundant FixedReshape. | |
Public Member Functions inherited from logo::Pass | |
virtual | ~Pass ()=default |
Remove redundant canonical FixedReshape.
Definition at line 33 of file ResolveRedundantReshapePass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 36 of file ResolveRedundantReshapePass.h.
|
overridevirtual |
Bypass redundant FixedReshape.
Before:
In --— FixedReshape --— [Out]*
After:
In ---------------------— [Out]* \ ---— FixedReshape
Implements logo::Pass.
Definition at line 82 of file ResolveRedundantReshapePass.cpp.
References loco::output_nodes(), loco::postorder_traversal(), and loco::Subst< SubstQualifier::Default >::with().
Referenced by package.infer.session::inference().