ArmNN
NotReleased
|
#include <CaffePreprocessor.hpp>
Public Types | |
using | DataType = float |
using | TTestCaseData = ClassifierTestCaseData< DataType > |
Public Member Functions | |
CaffePreprocessor (const std::string &binaryFileDirectory, unsigned int width=227, unsigned int height=227, const std::vector< ImageSet > &imageSet=std::vector< ImageSet >()) | |
std::unique_ptr< TTestCaseData > | GetTestCaseData (unsigned int testCaseId) |
Definition at line 18 of file CaffePreprocessor.hpp.
using DataType = float |
Definition at line 21 of file CaffePreprocessor.hpp.
using TTestCaseData = ClassifierTestCaseData<DataType> |
Definition at line 22 of file CaffePreprocessor.hpp.
|
explicit |
Definition at line 21 of file CaffePreprocessor.cpp.
std::unique_ptr< CaffePreprocessor::TTestCaseData > GetTestCaseData | ( | unsigned int | testCaseId | ) |
Definition at line 30 of file CaffePreprocessor.cpp.
References Bgr, CHECK_LOCATION, GetImageDataInArmNnLayoutAsFloatsSubtractingMean(), and InferenceTestImage::Resize().