#include "ParserFlatbuffersFixture.hpp"
#include <doctest/doctest.h>
Go to the source code of this file.
◆ TEST_SUITE()
TEST_SUITE |
( |
"TensorflowLiteParser_Addition" |
| ) |
|
Definition at line 11 of file Addition.cpp.
References ParserFlatbuffersFixture::Setup(), and TEST_CASE_FIXTURE().
15 explicit AddFixture(
const std::string & inputShape1,
16 const std::string & inputShape2,
17 const std::string & outputShape,
18 const std::string & activation=
"NONE")
23 "operator_codes": [ { "builtin_code": "ADD" } ], 27 "shape": )" + inputShape1 + R"(, 30 "name": "inputTensor1", 39 "shape": )" + inputShape2 + R"(, 42 "name": "inputTensor2", 51 "shape": )" + outputShape + R"( , 54 "name": "outputTensor", 70 "builtin_options_type": "AddOptions", 72 "fused_activation_function": )" + activation + R"( 74 "custom_options_format": "FLEXBUFFERS" 89 struct SimpleAddFixture : AddFixture
91 SimpleAddFixture() : AddFixture(
"[ 2, 2 ]",
98 RunTest<2, armnn::DataType::QAsymmU8>(
100 {{
"inputTensor1", { 0, 1, 2, 3 }},
101 {
"inputTensor2", { 4, 5, 6, 7 }}},
102 {{
"outputTensor", { 4, 6, 8, 10 }}});
TEST_CASE_FIXTURE(ClContextControlFixture, "CopyBetweenNeonAndGpu")
void Setup(bool testDynamic=true)