|
ONE - On-device Neural Engine
|
If ReduceTypeOP don't keep dimensions, replace the ReduceTypeOp as new one to keep dimensions and insert TFSqueeze. More...
#include <SqueezeReduceNode.h>

Public Member Functions | |
| const char * | name (void) const final |
| bool | run (loco::Graph *graph) override |
| Run the pass. | |
Public Member Functions inherited from logo::Pass | |
| virtual | ~Pass ()=default |
If ReduceTypeOP don't keep dimensions, replace the ReduceTypeOp as new one to keep dimensions and insert TFSqueeze.
Definition at line 31 of file SqueezeReduceNode.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 34 of file SqueezeReduceNode.h.
|
overridevirtual |
Run the pass.
Implements logo::Pass.
Definition at line 89 of file SqueezeReduceNode.cpp.
References loco::active_nodes(), and loco::output_nodes().