|
ONE - On-device Neural Engine
|
Class to Replace Sub With Add. More...
#include <ReplaceSubWithAddPass.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 Replace Sub With Add.
Definition at line 29 of file ReplaceSubWithAddPass.h.
Reimplemented from logo::Pass.
Definition at line 31 of file ReplaceSubWithAddPass.h.
|
finalvirtual |
Run the pass.
Implements logo::Pass.
Definition at line 61 of file ReplaceSubWithAddPass.cpp.
References loco::active_nodes(), luci::must_cast(), and loco::output_nodes().