|
ONE - On-device Neural Engine
|
Class to fuse two Mean operations follow one by one into one Mean with merge reduction indices. More...
#include <FuseMeanWithMeanPass.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 fuse two Mean operations follow one by one into one Mean with merge reduction indices.
Definition at line 29 of file FuseMeanWithMeanPass.h.
Reimplemented from logo::Pass.
Definition at line 31 of file FuseMeanWithMeanPass.h.
|
finalvirtual |
Run the pass.
Implements logo::Pass.
Definition at line 156 of file FuseMeanWithMeanPass.cpp.
References loco::active_nodes(), luci::must_cast(), and loco::output_nodes().