8 #if defined(ARMNN_TFLITE_DELEGATE) 19 #if defined(ARMNN_TFLITE_DELEGATE) 20 return std::make_unique<TfLiteExecutor>(programOptions.
m_ExNetParams);
22 ARMNN_LOG(fatal) <<
"Not built with Arm NN Tensorflow-Lite delegate support.";
33 int main(
int argc,
const char* argv[])
51 catch (
const std::exception& e)
57 std::vector<const void*> outputResults;
65 executor->PrintNetworkInfo();
66 outputResults = executor->Execute();
81 if (!comparisonExecutor)
86 comparisonExecutor->PrintNetworkInfo();
87 comparisonExecutor->Execute();
89 comparisonExecutor->CompareAndPrintResult(outputResults);
ExecuteNetworkParams m_ExNetParams
void ConfigureLogging(bool printToStandardOutput, bool printToDebugOutput, LogSeverity severity)
Configures the logging behaviour of the ARMNN library.
armnn::IRuntime::CreationOptions m_RuntimeOptions
#define ARMNN_LOG(severity)
TfLiteExecutor m_TfLiteExecutor
std::vector< armnn::BackendId > m_ComparisonComputeDevices
std::vector< armnn::BackendId > m_ComputeDevices
std::unique_ptr< IExecutor > BuildExecutor(ProgramOptions &programOptions)
Holds all parameters necessary to execute a network Check ExecuteNetworkProgramOptions.cpp for a description of each parameter.
void ParseOptions(int ac, const char *av[])
Parses program options from the command line or another source and stores the values in member variab...
Holds and parses program options for the ExecuteNetwork application.
int main(int argc, const char *argv[])