ArmNN
 21.02
IInferenceTestCaseProvider Class Referenceabstract

#include <InferenceTest.hpp>

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

Public Member Functions

virtual ~IInferenceTestCaseProvider ()
 
virtual void AddCommandLineOptions (cxxopts::Options &options, std::vector< std::string > &required)
 
virtual bool ProcessCommandLineOptions (const InferenceTestOptions &commonOptions)
 
virtual std::unique_ptr< IInferenceTestCaseGetTestCase (unsigned int testCaseId)=0
 
virtual bool OnInferenceTestFinished ()
 

Detailed Description

Definition at line 91 of file InferenceTest.hpp.

Constructor & Destructor Documentation

◆ ~IInferenceTestCaseProvider()

virtual ~IInferenceTestCaseProvider ( )
inlinevirtual

Definition at line 94 of file InferenceTest.hpp.

94 {}

Member Function Documentation

◆ AddCommandLineOptions()

virtual void AddCommandLineOptions ( cxxopts::Options &  options,
std::vector< std::string > &  required 
)
inlinevirtual

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

Definition at line 96 of file InferenceTest.hpp.

References armnn::IgnoreUnused().

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

97  {
98  IgnoreUnused(options, required);
99  };
void IgnoreUnused(Ts &&...)

◆ 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 106 of file InferenceTest.hpp.

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

106 { return true; };

◆ ProcessCommandLineOptions()

virtual bool ProcessCommandLineOptions ( const InferenceTestOptions commonOptions)
inlinevirtual

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

Definition at line 100 of file InferenceTest.hpp.

References armnn::IgnoreUnused().

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

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

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