ONE - On-device Neural Engine
|
Canonicalize TF-dialect TFStopGradient into canonical Forward node. More...
#include <StopGradientCanonicalizer.h>
Public Member Functions | |
const char * | name (void) const final |
bool | transform (moco::TFStopGradient *) const final |
Public Member Functions inherited from moco::tf::SimpleNodeTransform< moco::TFStopGradient > | |
SimpleNodeTransform ()=default | |
virtual | ~SimpleNodeTransform ()=default |
bool | run (loco::Graph *graph) final |
Run the pass. | |
Public Member Functions inherited from logo::Pass | |
virtual | ~Pass ()=default |
Canonicalize TF-dialect TFStopGradient into canonical Forward node.
Definition at line 35 of file StopGradientCanonicalizer.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 38 of file StopGradientCanonicalizer.h.
|
finalvirtual |
Implements moco::tf::SimpleNodeTransform< moco::TFStopGradient >.
Definition at line 65 of file StopGradientCanonicalizer.cpp.
References loco::Node::graph().