ONE - On-device Neural Engine
|
Convert TFRelu to Canonical ReLU. More...
#include <ReluCanonicalizer.h>
Public Member Functions | |
const char * | name (void) const final |
bool | transform (moco::TFRelu *) const final |
Public Member Functions inherited from moco::tf::SimpleNodeTransform< moco::TFRelu > | |
SimpleNodeTransform ()=default | |
virtual | ~SimpleNodeTransform ()=default |
bool | run (loco::Graph *graph) final |
Run the pass. | |
Public Member Functions inherited from logo::Pass | |
virtual | ~Pass ()=default |
Convert TFRelu to Canonical ReLU.
Definition at line 35 of file ReluCanonicalizer.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 38 of file ReluCanonicalizer.h.
|
finalvirtual |
Implements moco::tf::SimpleNodeTransform< moco::TFRelu >.
Definition at line 62 of file ReluCanonicalizer.cpp.
References loco::Node::graph().