ArmNN
 22.08
IExecutor Class Referenceabstract

IExecutor executes a network. More...

#include <IExecutor.hpp>

Inheritance diagram for IExecutor:
ArmNNExecutor TfLiteExecutor

Public Member Functions

virtual std::vector< const void * > Execute ()=0
 Execute the given network. More...
 
virtual void PrintNetworkInfo ()=0
 Print available information about the network. More...
 
virtual void CompareAndPrintResult (std::vector< const void *> otherOutput)=0
 Compare the output with the result of another IExecutor. More...
 
virtual ~IExecutor ()
 

Detailed Description

IExecutor executes a network.

Definition at line 10 of file IExecutor.hpp.

Constructor & Destructor Documentation

◆ ~IExecutor()

virtual ~IExecutor ( )
inlinevirtual

Definition at line 21 of file IExecutor.hpp.

21 {};

Member Function Documentation

◆ CompareAndPrintResult()

virtual void CompareAndPrintResult ( std::vector< const void *>  otherOutput)
pure virtual

Compare the output with the result of another IExecutor.

Implemented in ArmNNExecutor, and TfLiteExecutor.

◆ Execute()

virtual std::vector<const void*> Execute ( )
pure virtual

Execute the given network.

Returns
std::vector<const void*> A type erased vector of the outputs, that can be compared with the output of another IExecutor

Implemented in ArmNNExecutor, and TfLiteExecutor.

◆ PrintNetworkInfo()

virtual void PrintNetworkInfo ( )
pure virtual

Print available information about the network.

Implemented in ArmNNExecutor, and TfLiteExecutor.


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