ONE - On-device Neural Engine
|
Class to convert a canonical node to TFL node. More...
#include <CanonicalNodeConverter.h>
Public Member Functions | |
virtual const char * | name (void) const |
bool | run (loco::Graph *graph) |
Run the pass. | |
Public Member Functions inherited from logo::Pass | |
virtual | ~Pass ()=default |
Protected Member Functions | |
virtual bool | convert (CanonicalType *node)=0 |
Class to convert a canonical node to TFL node.
TODO Find a better name
Definition at line 34 of file CanonicalNodeConverter.h.
|
protectedpure virtual |
Implemented in exo::AvgPool2DConverter, exo::ConstGenConverter, exo::Conv2DConverter, exo::DepthwiseConv2DConverter, exo::EltwiseAddConverter, exo::EltwiseDivConverter, exo::EltwiseMaxConverter, exo::EltwiseMulConverter, exo::EltwiseSqrtConverter, exo::EltwiseSubConverter, exo::FeatureBiasAddConverter, exo::MatMulConverter, exo::MaxPool2DConverter, exo::ReluConverter, exo::Relu6Converter, exo::TensorConcatConverter, exo::TensorReduceConverter, exo::TensorTransposeConverter, and exo::TransposedConv2DConverter.
|
inlinevirtual |
Reimplemented from logo::Pass.
Reimplemented in exo::AvgPool2DConverter, exo::ConstGenConverter, exo::Conv2DConverter, exo::DepthwiseConv2DConverter, exo::EltwiseAddConverter, exo::EltwiseDivConverter, exo::EltwiseMaxConverter, exo::EltwiseMulConverter, exo::EltwiseSqrtConverter, exo::EltwiseSubConverter, exo::FeatureBiasAddConverter, exo::MatMulConverter, exo::MaxPool2DConverter, exo::Relu6Converter, exo::ReluConverter, exo::TensorConcatConverter, exo::TensorReduceConverter, exo::TensorTransposeConverter, and exo::TransposedConv2DConverter.
Definition at line 37 of file CanonicalNodeConverter.h.
|
virtual |
Run the pass.
Implements logo::Pass.
Definition at line 47 of file CanonicalNodeConverter.h.
References loco::active_nodes(), loco::CanonicalDialect::get(), and loco::output_nodes().
Referenced by package.infer.session::inference().