ONE - On-device Neural Engine
|
this class represent an interface for all compiler passes like that frontend, backend etc More...
#include <Pass.h>
Public Member Functions | |
virtual PassData | run (PassData data)=0 |
run compiler pass | |
virtual void | cleanup () |
clean compiler pass data | |
virtual | ~Pass ()=default |
virtual std::string | getName () |
this class represent an interface for all compiler passes like that frontend, backend etc
|
virtualdefault |
|
inlinevirtual |
clean compiler pass data
Reimplemented in nnc::DataFormatSwitcher, and nnc::LowerConv2D.
Definition at line 44 of file Pass.h.
|
inlinevirtual |
Reimplemented in nnc::CombineTransposes, nnc::ConstantFoldTranspose, nnc::DeadCodeElimination, nnc::FuseArithmeticOps, nnc::SinkRelu, nnc::SinkTranspose, nnc::DataFormatSwitcher, and nnc::LowerConv2D.
Definition at line 48 of file Pass.h.
run compiler pass
data | - data that pass is taken |
PassException | object if errors occured |
Implemented in nnc::DumperPass, nnc::CombineTransposes, nnc::ConstantFoldTranspose, nnc::DeadCodeElimination, nnc::FuseArithmeticOps, nnc::SinkRelu, nnc::SinkTranspose, nnc::DataFormatSwitcher, nnc::LowerConv2D, DummyPass1, and DummyPass2.
Referenced by package.infer.session::inference().