15 explicit ConstantAddFixture(
const std::string & shape,
16 const std::string & constTensorDatatype,
17 const std::string & constData,
18 const std::string & dataType)
26 layer_type: "InputLayer", 32 layerName: "InputLayer1", 36 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 41 dimensions: )" + shape + R"(, 42 dataType: )" + dataType + R"( 48 layer_type: "ConstantLayer", 52 layerName: "ConstantLayer", 53 layerType: "Constant", 57 dimensions: )" + shape + R"(, 58 dataType: )" + dataType + R"(, 63 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 68 dimensions: )" + shape + R"(, 69 dataType: )" + dataType + R"( 71 data_type: )" + constTensorDatatype + R"(, 73 data: )" + constData + R"(, 78 layer_type: "AdditionLayer", 82 layerName: "AdditionLayer", 83 layerType: "Addition", 87 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 91 connection: {sourceLayerIndex:1, outputSlotIndex:0 }, 97 dimensions: )" + shape + R"(, 98 dataType: )" + dataType + R"( 104 layer_type: "OutputLayer", 110 layerName: "OutputLayer", 114 connection: {sourceLayerIndex:2, outputSlotIndex:0 }, 119 dimensions: )" + shape + R"(, 120 dataType: )" + dataType + R"( 131 struct SimpleConstantAddFixture : ConstantAddFixture
133 SimpleConstantAddFixture()
134 : ConstantAddFixture(
"[ 2, 3 ]",
136 "[ 1, 2, 3, 4, 5, 6 ]",
144 RunTest<2, armnn::DataType::QAsymmU8>(
146 { 1, 2, 3, 4, 5, 6 },
147 { 2, 4, 6, 8, 10, 12 });
void SetupSingleInputSingleOutput(const std::string &inputName, const std::string &outputName)
TEST_CASE_FIXTURE(ClContextControlFixture, "CopyBetweenNeonAndGpu")
TEST_SUITE("DeserializeParser_Constant")