ONE - On-device Neural Engine
|
Convert loco::Conv2D to locoex::TFLConv2D. More...
#include <Conv2DConverter.h>
Public Member Functions | |
const char * | name (void) const final |
bool | convert (loco::Conv2D *origin) final |
Converts loco::Conv2D to locoex::TFLConv2D. | |
Public Member Functions inherited from exo::CanonicalNodeConverter< loco::Conv2D > | |
bool | run (loco::Graph *graph) |
Run the pass. | |
Public Member Functions inherited from logo::Pass | |
virtual | ~Pass ()=default |
Additional Inherited Members |
Convert loco::Conv2D to locoex::TFLConv2D.
Definition at line 30 of file Conv2DConverter.h.
|
finalvirtual |
Converts loco::Conv2D to locoex::TFLConv2D.
Implements exo::CanonicalNodeConverter< loco::Conv2D >.
Definition at line 37 of file Conv2DConverter.cpp.
References loco::NodeShape::as(), loco::dtype_get(), loco::dtype_known(), loco::Node::graph(), loco::Stride< 2 >::horizontal(), loco::Conv2D::ifm(), loco::Conv2D::ker(), exo::make_feature_decode< FeatureLayout::NHWC >(), exo::make_feature_encode< FeatureLayout::NHWC >(), exo::make_filter_decode< FilterLayout::OHWI >(), locoex::NONE, loco::Conv2D::pad(), loco::replace(), locoex::SAME, loco::shape_get(), loco::shape_known(), locoex::TFLConv2D::stride(), loco::Conv2D::stride(), locoex::VALID, loco::Stride< 2 >::vertical(), locoex::Stride::w(), and loco::Subst< SubstQualifier::Default >::with().
|
inlinefinalvirtual |
Reimplemented from exo::CanonicalNodeConverter< loco::Conv2D >.
Definition at line 33 of file Conv2DConverter.h.