ONE - On-device Neural Engine
|
Class to remove unnecessary Cast nodes. More...
#include <RemoveUnnecessaryCastPass.h>
Public Member Functions | |
const char * | name (void) const final |
bool | run (loco::Graph *g) final |
Run the pass. | |
Public Member Functions inherited from logo::Pass | |
virtual | ~Pass ()=default |
Class to remove unnecessary Cast nodes.
This class will remove unnecessary Cast nodes. See https://github.com/Samsung/ONE/issues/13623 for more details.
Definition at line 30 of file RemoveUnnecessaryCastPass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 32 of file RemoveUnnecessaryCastPass.h.
|
finalvirtual |
Run the pass.
Implements logo::Pass.
Definition at line 62 of file RemoveUnnecessaryCastPass.cpp.
References loco::active_nodes(), and loco::output_nodes().
Referenced by package.infer.session::inference().