ONE - On-device Neural Engine
|
Convert loco::TensorConcat to TFLConcatenate. More...
#include <TensorConcatConverter.h>
Public Member Functions | |
const char * | name (void) const final |
bool | convert (loco::TensorConcat *origin) final |
Converts loco::TensorConcat to locoex::TFLConcatenate. | |
Public Member Functions inherited from exo::CanonicalNodeConverter< loco::TensorConcat > | |
bool | run (loco::Graph *graph) |
Run the pass. | |
Public Member Functions inherited from logo::Pass | |
virtual | ~Pass ()=default |
Additional Inherited Members |
Convert loco::TensorConcat to TFLConcatenate.
Definition at line 30 of file TensorConcatConverter.h.
|
finalvirtual |
Converts loco::TensorConcat to locoex::TFLConcatenate.
Before: input:0 --— loco::TensorConcat ----— C input:1 -—/
After: input:0 --— locoex::TFLConcatenate — C input:1 -—/
input:0 --— loco::TensorConcat — input:1 -—/
Implements exo::CanonicalNodeConverter< loco::TensorConcat >.
Definition at line 43 of file TensorConcatConverter.cpp.
References loco::TensorConcat::axis(), loco::NodePool::create(), loco::Node::graph(), loco::TensorConcat::lhs(), loco::Graph::nodes(), locoex::NONE, loco::replace(), loco::TensorConcat::rhs(), loco::shape_get(), loco::shape_known(), loco::Tensor, locoex::TFLConcatenation::values(), and loco::Subst< SubstQualifier::Default >::with().
|
inlinefinalvirtual |
Reimplemented from exo::CanonicalNodeConverter< loco::TensorConcat >.
Definition at line 33 of file TensorConcatConverter.h.