12 explicit LRNFixture(std::string inputdim, std::string outputdim, std::string dataType)
17 "operator_codes": [ { "builtin_code": "LOCAL_RESPONSE_NORMALIZATION" } ], 29 "name": "OutputTensor", 45 "name": "InputTensor", 60 "builtin_options_type": "LocalResponseNormalizationOptions", 68 "custom_options_format": "FLEXBUFFERS" 72 "description": "MaxPool2D test.", 73 "buffers" : [ {}, {} ] 80 struct LRNLiteFixtureFloat4DOutput : LRNFixture
82 LRNLiteFixtureFloat4DOutput() : LRNFixture(
"[ 1, 1, 4, 4 ]",
"[ 1, 1, 4, 4 ]",
"FLOAT32") {}
87 RunTest<4, armnn::DataType::Float32>(0,
89 2.0f, 3.0f, 5.0f, 2.0f,
90 2.0f, 3.0f, 5.0f, 2.0f,
91 2.0f, 3.0f, 5.0f, 2.0f,
92 2.0f, 3.0f, 5.0f, 2.0f
95 0.320256f, 0.457496f, 0.762493f, 0.320256f,
96 0.320256f, 0.457496f, 0.762493f, 0.320256f,
97 0.320256f, 0.457496f, 0.762493f, 0.320256f,
98 0.320256f, 0.457496f, 0.762493f, 0.320256f
104 CHECK_THROWS_AS((RunTest<4, armnn::DataType::QAsymmU8>(0, { 2, 3, 5, 2 }, { 5 })),
armnn::Exception);
TEST_CASE_FIXTURE(ClContextControlFixture, "CopyBetweenNeonAndGpu")
void SetupSingleInputSingleOutput(const std::string &inputName, const std::string &outputName)
Base class for all ArmNN exceptions so that users can filter to just those.