Go to the source code of this file.
◆ TEST_SUITE()
TEST_SUITE |
( |
"TensorflowLiteParser_Constant" |
| ) |
|
Definition at line 11 of file Constant.cpp.
References ParserFlatbuffersFixture::Setup(), and TEST_CASE_FIXTURE().
15 explicit ConstantAddFixture(
const std::string & inputShape,
16 const std::string & outputShape,
17 const std::string & constShape,
18 const std::string & constData)
23 "operator_codes": [ { "builtin_code": "ADD" } ], 27 "shape": )" + constShape + R"( , 30 "name": "ConstTensor", 39 "shape": )" + inputShape + R"(, 42 "name": "InputTensor", 51 "shape": )" + outputShape + R"( , 54 "name": "OutputTensor", 70 "builtin_options_type": "AddOptions", 73 "custom_options_format": "FLEXBUFFERS" 81 { "data": )" + constData + R"(, }, 90 struct SimpleConstantAddFixture : ConstantAddFixture
92 SimpleConstantAddFixture()
93 : ConstantAddFixture(
"[ 2, 2 ]",
102 RunTest<2, armnn::DataType::QAsymmU8>(
104 {{
"InputTensor", { 0, 1, 2, 3 }}},
105 {{
"OutputTensor", { 4, 6, 8, 10 }}}
TEST_CASE_FIXTURE(ClContextControlFixture, "CopyBetweenNeonAndGpu")
void Setup(bool testDynamic=true)