|
ONE - On-device Neural Engine
|
Convert TFTanh to Canonical Tanh. More...
#include <TanhCanonicalizer.h>

Public Member Functions | |
| const char * | name (void) const final |
| bool | transform (moco::TFTanh *) const override |
Public Member Functions inherited from moco::tf::SimpleNodeTransform< moco::TFTanh > | |
| 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 TFTanh to Canonical Tanh.
Definition at line 35 of file TanhCanonicalizer.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 38 of file TanhCanonicalizer.h.
|
overridevirtual |
Implements moco::tf::SimpleNodeTransform< moco::TFTanh >.
Definition at line 62 of file TanhCanonicalizer.cpp.
References loco::Node::graph().