ArmNN
 22.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 93 of file InferenceTest.hpp.

Constructor & Destructor Documentation

◆ ~IInferenceTestCaseProvider()

virtual ~IInferenceTestCaseProvider ( )
inlinevirtual

Definition at line 96 of file InferenceTest.hpp.

96 {}

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

References armnn::IgnoreUnused().

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

99  {
100  IgnoreUnused(options, required);
101  };
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 108 of file InferenceTest.hpp.

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

108 { return true; };

◆ ProcessCommandLineOptions()

virtual bool ProcessCommandLineOptions ( const InferenceTestOptions commonOptions)
inlinevirtual

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

Definition at line 102 of file InferenceTest.hpp.

References armnn::IgnoreUnused().

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

103  {
104  IgnoreUnused(commonOptions);
105  return true;
106  };
void IgnoreUnused(Ts &&...)

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