|
ONE - On-device Neural Engine
|
#include <MinMaxRecorder.h>

Public Member Functions | |
| MinMaxRecorder (const std::string &workspace_dir, const ir::Graph &graph, const backend::BackendContexts &backend_contexts) | |
| void | handleJobBegin (IExecutor *, std::pair< ir::ModelIndex, ir::SubgraphIndex >, ir::OperationIndex, const backend::Backend *) override |
| void | handleJobEnd (IExecutor *, std::pair< ir::ModelIndex, ir::SubgraphIndex >, ir::OperationIndex, const backend::Backend *) override |
| void | handleSubgraphBegin (std::pair< ir::ModelIndex, ir::SubgraphIndex >) override |
| Invoked just before model (not individual operation) execution begins. | |
| void | handleSubgraphEnd (std::pair< ir::ModelIndex, ir::SubgraphIndex >) override |
| Invoked just after model (not individual operation) execution ends. | |
| ObserverType | type () const override |
Public Member Functions inherited from onert::exec::IExecutionObserver | |
| virtual | ~IExecutionObserver ()=default |
Definition at line 29 of file MinMaxRecorder.h.
| onert::exec::MinMaxRecorder::MinMaxRecorder | ( | const std::string & | workspace_dir, |
| const ir::Graph & | graph, | ||
| const backend::BackendContexts & | backend_contexts | ||
| ) |
Definition at line 27 of file MinMaxRecorder.cc.
|
inlineoverridevirtual |
Implements onert::exec::IExecutionObserver.
Definition at line 34 of file MinMaxRecorder.h.
|
overridevirtual |
Implements onert::exec::IExecutionObserver.
Definition at line 67 of file MinMaxRecorder.cc.
References onert::util::MinMaxMap< N, Hash >::append(), onert::util::ObjectManager< Index, Object >::at(), onert::exec::minmaxFrom(), and onert::ir::Graph::operations().
|
overridevirtual |
Invoked just before model (not individual operation) execution begins.
Reimplemented from onert::exec::IExecutionObserver.
Definition at line 109 of file MinMaxRecorder.cc.
References onert::util::MinMaxMap< N, Hash >::append(), onert::ir::Graph::getInputs(), onert::backend::ITensorRegistry::getITensor(), and onert::exec::minmaxFrom().
|
overridevirtual |
Invoked just after model (not individual operation) execution ends.
Reimplemented from onert::exec::IExecutionObserver.
Definition at line 141 of file MinMaxRecorder.cc.
|
inlineoverridevirtual |
Implements onert::exec::IExecutionObserver.
Definition at line 43 of file MinMaxRecorder.h.
References onert::exec::MINMAX_DUMP.