MCPcopy Create free account
hub / github.com/ARM-software/armnn / GetTestCase

Method GetTestCase

tests/YoloInferenceTest.hpp:218–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 }
217
218 virtual std::unique_ptr<IInferenceTestCase> GetTestCase(unsigned int testCaseId) override
219 {
220 std::unique_ptr<YoloTestCaseData> testCaseData = m_Database->GetTestCaseData(testCaseId);
221 if (!testCaseData)
222 {
223 return nullptr;
224 }
225
226 return std::make_unique<YoloTestCase<Model>>(*m_Model, testCaseId, *testCaseData);
227 }
228
229private:
230 typename Model::CommandLineOptions m_ModelCommandLineOptions;

Callers 1

InferenceTestFunction · 0.45

Calls 1

GetTestCaseDataMethod · 0.45

Tested by

no test coverage detected