ONE - On-device Neural Engine
|
#include <DataFormatSwitcher.h>
Public Member Functions | |
DataFormatSwitcher (mir::DataFormat target_format) | |
PassData | run (PassData data) override |
run compiler pass | |
void | cleanup () override |
clean compiler pass data | |
~DataFormatSwitcher () override | |
std::string | getName () override |
Public Member Functions inherited from nnc::Pass | |
virtual | ~Pass ()=default |
Definition at line 29 of file DataFormatSwitcher.h.
|
explicit |
Definition at line 29 of file DataFormatSwitcher.cpp.
|
overridedefault |
|
overridevirtual |
clean compiler pass data
Reimplemented from nnc::Pass.
Definition at line 85 of file DataFormatSwitcher.cpp.
|
inlineoverridevirtual |
Reimplemented from nnc::Pass.
Definition at line 40 of file DataFormatSwitcher.h.
run compiler pass
data | - data that pass is taken |
PassException | object if errors occured |
Implements nnc::Pass.
Definition at line 36 of file DataFormatSwitcher.cpp.
References mir::Graph::getNodes().
Referenced by package.infer.session::inference().