ONE - On-device Neural Engine
|
Convert loco::TensorTranspose to locoex::TFLTranspose. More...
#include <TensorTransposeConverter.h>
Public Member Functions | |
const char * | name (void) const final |
bool | convert (loco::TensorTranspose *origin) final |
Converts loco::TensorTranspose to locoex::TFLTranspose. | |
Public Member Functions inherited from exo::CanonicalNodeConverter< loco::TensorTranspose > | |
bool | run (loco::Graph *graph) |
Run the pass. | |
Public Member Functions inherited from logo::Pass | |
virtual | ~Pass ()=default |
Additional Inherited Members |
Convert loco::TensorTranspose to locoex::TFLTranspose.
Definition at line 30 of file TensorTransposeConverter.h.
|
finalvirtual |
Converts loco::TensorTranspose to locoex::TFLTranspose.
Implements exo::CanonicalNodeConverter< loco::TensorTranspose >.
Definition at line 58 of file TensorTransposeConverter.cpp.
References loco::NodeShape::as(), loco::TensorTranspose::Perm::axis(), loco::Node::graph(), loco::TensorTranspose::input(), INTERNAL_EXN_V, loco::TensorTranspose::perm(), loco::replace(), loco::shape_get(), loco::TensorTranspose::Perm::size(), oops::to_uint32(), and loco::Subst< SubstQualifier::Default >::with().
|
inlinefinalvirtual |
Reimplemented from exo::CanonicalNodeConverter< loco::TensorTranspose >.
Definition at line 33 of file TensorTransposeConverter.h.