ONE - On-device Neural Engine
|
#include <ExecutionObservers.h>
Public Member Functions | |
ProfileObserver (std::shared_ptr< ExecTime > et, const ir::Graph &graph) | |
void | handleJobBegin (IExecutor *, ir::SubgraphIndex, ir::OperationIndex, const backend::Backend *) override |
void | handleJobEnd (IExecutor *, ir::SubgraphIndex, ir::OperationIndex, const backend::Backend *) override |
void | handleSubgraphEnd (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 void | handleSubgraphBegin (ir::SubgraphIndex) |
Invoked just before model (not individual operation) execution begins. | |
virtual | ~IExecutionObserver ()=default |
Definition at line 82 of file ExecutionObservers.h.
|
inlineexplicit |
Definition at line 85 of file ExecutionObservers.h.
|
overridevirtual |
Implements onert::exec::IExecutionObserver.
Definition at line 76 of file ExecutionObservers.cc.
References onert::backend::Backend::config().
|
overridevirtual |
Implements onert::exec::IExecutionObserver.
Definition at line 85 of file ExecutionObservers.cc.
References onert::util::ObjectManager< Index, Object >::at(), onert::exec::IExecutor::graph(), onert::ir::Graph::operands(), onert::ir::Graph::operations(), size, Operand::type, onert::ir::UNDEFINED, and VERBOSE.
|
inlineoverridevirtual |
Invoked just after model (not individual operation) execution ends.
Reimplemented from onert::exec::IExecutionObserver.
Definition at line 94 of file ExecutionObservers.h.
|
inlineoverridevirtual |
Implements onert::exec::IExecutionObserver.
Definition at line 95 of file ExecutionObservers.h.
References onert::exec::PROFILE.