ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert::exec::IExecutionObserver Class Referenceabstract

#include <ExecutionObservers.h>

Public Member Functions

virtual void handleSubgraphBegin (ir::SubgraphIndex)
 Invoked just before model (not individual operation) execution begins.
 
virtual void handleJobBegin (IExecutor *, ir::SubgraphIndex, ir::OperationIndex, const backend::Backend *)=0
 
virtual void handleJobEnd (IExecutor *, ir::SubgraphIndex, ir::OperationIndex, const backend::Backend *)=0
 
virtual void handleSubgraphEnd (ir::SubgraphIndex)
 Invoked just after model (not individual operation) execution ends.
 
virtual ObserverType type () const =0
 
virtual ~IExecutionObserver ()=default
 

Detailed Description

Definition at line 43 of file ExecutionObservers.h.

Constructor & Destructor Documentation

◆ ~IExecutionObserver()

virtual onert::exec::IExecutionObserver::~IExecutionObserver ( )
virtualdefault

Member Function Documentation

◆ handleJobBegin()

virtual void onert::exec::IExecutionObserver::handleJobBegin ( IExecutor ,
ir::SubgraphIndex  ,
ir::OperationIndex  ,
const backend::Backend  
)
pure virtual

◆ handleJobEnd()

virtual void onert::exec::IExecutionObserver::handleJobEnd ( IExecutor ,
ir::SubgraphIndex  ,
ir::OperationIndex  ,
const backend::Backend  
)
pure virtual

◆ handleSubgraphBegin()

virtual void onert::exec::IExecutionObserver::handleSubgraphBegin ( ir::SubgraphIndex  )
inlinevirtual

Invoked just before model (not individual operation) execution begins.

Reimplemented in onert::exec::TracingObserver, and onert::exec::MinMaxRecorder.

Definition at line 47 of file ExecutionObservers.h.

47{ return; }

◆ handleSubgraphEnd()

virtual void onert::exec::IExecutionObserver::handleSubgraphEnd ( ir::SubgraphIndex  )
inlinevirtual

Invoked just after model (not individual operation) execution ends.

Reimplemented in onert::exec::ProfileObserver, onert::exec::TracingObserver, and onert::exec::MinMaxRecorder.

Definition at line 55 of file ExecutionObservers.h.

55{ return; }

◆ type()

virtual ObserverType onert::exec::IExecutionObserver::type ( ) const
pure virtual

The documentation for this class was generated from the following file: