22.08
|
#include <TfliteExecutor.hpp>
Public Member Functions | |
TfLiteExecutor (const ExecuteNetworkParams &m_Params) | |
std::vector< const void * > | Execute () override |
Execute the given network. More... | |
void | PrintNetworkInfo () override |
Print available information about the network. More... | |
void | CompareAndPrintResult (std::vector< const void *> otherOutput) override |
Compare the output with the result of another IExecutor. More... | |
Public Member Functions inherited from IExecutor | |
virtual | ~IExecutor () |
Definition at line 21 of file TfliteExecutor.hpp.
TfLiteExecutor | ( | const ExecuteNetworkParams & | m_Params | ) |
Definition at line 8 of file TfliteExecutor.cpp.
References ExecuteNetworkParams::ArmNNTfLiteDelegate, DelegateOptions::GetExternalProfilingParams(), LogAndThrow(), ExecuteNetworkParams::m_GenerateTensorData, ExecuteNetworkParams::m_InputNames, ExecuteNetworkParams::m_InputTensorDataFilePaths, ExecuteNetworkParams::m_ModelPath, ExecuteNetworkParams::m_TfLiteExecutor, DelegateOptions::SetExternalProfilingParams(), armnnDelegate::TfLiteArmnnDelegateCreate(), and armnnDelegate::TfLiteArmnnDelegateDelete().
|
overridevirtual |
Compare the output with the result of another IExecutor.
Implements IExecutor.
Definition at line 204 of file TfliteExecutor.cpp.
|
overridevirtual |
Execute the given network.
Implements IExecutor.
Definition at line 103 of file TfliteExecutor.cpp.
References ARMNN_LOG, CheckInferenceTimeThreshold(), armnn::GetTimeDuration(), armnn::GetTimeNow(), LogAndThrow(), ExecuteNetworkParams::m_DontPrintOutputs, ExecuteNetworkParams::m_Iterations, ExecuteNetworkParams::m_OutputTensorFiles, ExecuteNetworkParams::m_ReuseBuffers, and ExecuteNetworkParams::m_ThresholdTime.
|
inlineoverridevirtual |
Print available information about the network.
Implements IExecutor.
Definition at line 27 of file TfliteExecutor.hpp.