ArmNN  NotReleased
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 89 of file InferenceTest.hpp.

Constructor & Destructor Documentation

◆ ~IInferenceTestCaseProvider()

virtual ~IInferenceTestCaseProvider ( )
inlinevirtual

Definition at line 92 of file InferenceTest.hpp.

92 {}

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

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

95  {
96  boost::ignore_unused(options);
97  };
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 104 of file InferenceTest.hpp.

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

104 { return true; };

◆ ProcessCommandLineOptions()

virtual bool ProcessCommandLineOptions ( const InferenceTestOptions commonOptions)
inlinevirtual

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

Definition at line 98 of file InferenceTest.hpp.

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

99  {
100  boost::ignore_unused(commonOptions);
101  return true;
102  };

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