ArmNN
 20.02
IInferenceTestCaseProvider Class Referenceabstract

#include <InferenceTest.hpp>

Inheritance diagram for IInferenceTestCaseProvider:
ClassifierTestCaseProvider< TDatabase, InferenceModel > YoloTestCaseProvider< Model >

Public Member Functions

virtual ~IInferenceTestCaseProvider ()
 
virtual void AddCommandLineOptions (boost::program_options::options_description &options)
 
virtual bool ProcessCommandLineOptions (const InferenceTestOptions &commonOptions)
 
virtual std::unique_ptr< IInferenceTestCaseGetTestCase (unsigned int testCaseId)=0
 
virtual bool OnInferenceTestFinished ()
 

Detailed Description

Definition at line 90 of file InferenceTest.hpp.

Constructor & Destructor Documentation

◆ ~IInferenceTestCaseProvider()

virtual ~IInferenceTestCaseProvider ( )
inlinevirtual

Definition at line 93 of file InferenceTest.hpp.

93 {}

Member Function Documentation

◆ AddCommandLineOptions()

virtual void AddCommandLineOptions ( boost::program_options::options_description &  options)
inlinevirtual

Reimplemented in YoloTestCaseProvider< Model >, and ClassifierTestCaseProvider< TDatabase, InferenceModel >.

Definition at line 95 of file InferenceTest.hpp.

References armnn::IgnoreUnused().

Referenced by armnn::test::ParseCommandLine().

96  {
98  };
void IgnoreUnused(Ts &&...)
armnn::Runtime::CreationOptions::ExternalProfilingOptions options

◆ GetTestCase()

virtual std::unique_ptr<IInferenceTestCase> GetTestCase ( unsigned int  testCaseId)
pure virtual

◆ OnInferenceTestFinished()

virtual bool OnInferenceTestFinished ( )
inlinevirtual

Reimplemented in ClassifierTestCaseProvider< TDatabase, InferenceModel >.

Definition at line 105 of file InferenceTest.hpp.

Referenced by armnn::test::InferenceTest().

105 { return true; };

◆ ProcessCommandLineOptions()

virtual bool ProcessCommandLineOptions ( const InferenceTestOptions commonOptions)
inlinevirtual

Reimplemented in YoloTestCaseProvider< Model >, and ClassifierTestCaseProvider< TDatabase, InferenceModel >.

Definition at line 99 of file InferenceTest.hpp.

References armnn::IgnoreUnused().

Referenced by armnn::test::ParseCommandLine().

100  {
101  IgnoreUnused(commonOptions);
102  return true;
103  };
void IgnoreUnused(Ts &&...)

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