21.08
|
#include <YoloInferenceTest.hpp>
Public Member Functions | |
YoloTestCase (Model &model, unsigned int testCaseId, YoloTestCaseData &testCaseData) | |
virtual TestCaseResult | ProcessResult (const InferenceTestOptions &options) override |
Public Member Functions inherited from InferenceModelTestCase< Model > | |
InferenceModelTestCase (Model &model, unsigned int testCaseId, const std::vector< TContainer > &inputs, const std::vector< unsigned int > &outputSizes) | |
virtual void | Run () override |
Public Member Functions inherited from IInferenceTestCase | |
virtual | ~IInferenceTestCase () |
Additional Inherited Members | |
Public Types inherited from InferenceModelTestCase< Model > | |
using | TContainer = mapbox::util::variant< std::vector< float >, std::vector< int >, std::vector< unsigned char >, std::vector< int8_t > > |
Protected Member Functions inherited from InferenceModelTestCase< Model > | |
unsigned int | GetTestCaseId () const |
const std::vector< TContainer > & | GetOutputs () const |
Definition at line 21 of file YoloInferenceTest.hpp.
|
inline |
Definition at line 24 of file YoloInferenceTest.hpp.
References YoloTestCaseData::m_InputImage, and YoloOutputSize.
|
inlineoverridevirtual |
Implements IInferenceTestCase.
Definition at line 32 of file YoloInferenceTest.hpp.
References ARMNN_ASSERT, ARMNN_LOG, InferenceModelTestCase< Model >::GetOutputs(), InferenceModelTestCase< Model >::GetTestCaseId(), armnn::IgnoreUnused(), YoloDetectedObject::m_Box, YoloDetectedObject::m_Class, YoloDetectedObject::m_Confidence, YoloBoundingBox::m_H, YoloBoundingBox::m_W, YoloBoundingBox::m_X, YoloBoundingBox::m_Y, armnnUtils::within_percentage_tolerance(), YoloImageHeight, YoloImageWidth, and YoloOutputSize.