ONE - On-device Neural Engine
|
Class to transform Maximum(Minimum(input, 6), 0) to Relu6. More...
#include <TransformMinMaxToRelu6Pass.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 transform Maximum(Minimum(input, 6), 0) to Relu6.
Definition at line 28 of file TransformMinMaxToRelu6Pass.h.
|
inlinefinalvirtual |
Reimplemented from logo::Pass.
Definition at line 30 of file TransformMinMaxToRelu6Pass.h.
|
finalvirtual |
Run the pass.
Implements logo::Pass.
Definition at line 117 of file TransformMinMaxToRelu6Pass.cpp.
References loco::active_nodes(), and loco::output_nodes().
Referenced by package.infer.session::inference().