ONE - On-device Neural Engine
|
#include <ConstantFoldTranspose.h>
Public Member Functions | |
PassData | run (PassData data) override |
run compiler pass | |
std::string | getName () override |
Public Member Functions inherited from nnc::Pass | |
virtual void | cleanup () |
clean compiler pass data | |
virtual | ~Pass ()=default |
Definition at line 25 of file ConstantFoldTranspose.h.
|
inlineoverridevirtual |
Reimplemented from nnc::Pass.
Definition at line 30 of file ConstantFoldTranspose.h.
run compiler pass
data | - data that pass is taken |
PassException | object if errors occured |
Implements nnc::Pass.
Definition at line 52 of file ConstantFoldTranspose.cpp.
References mir::Operation::getOutputShape(), mir::GraphPatternMatcher::matchEdge(), nnc::opt_util::removeNodeIfUnused(), and mir::TensorType::setQuantization().
Referenced by package.infer.session::inference().