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