15 explicit Convolution2dFixture(
const std::string & inputShape1,
16 const std::string & outputShape,
17 const std::string & weightsShape,
18 const std::string & dataType)
25 layer_type: "InputLayer", 31 layerName: "InputLayer", 35 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 40 dimensions: )" + inputShape1 + R"(, 41 dataType: )" + dataType + R"(, 42 quantizationScale: 0.5, 51 layer_type: "Convolution2dLayer", 55 layerName: "Convolution2dLayer", 56 layerType: "Convolution2d", 59 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 64 dimensions: )" + outputShape + R"(, 65 dataType: )" + dataType + R"( 81 dimensions: )" + weightsShape + R"(, 82 dataType: )" + dataType + R"( 87 1082130432, 1084227584, 1086324736, 89 1077936128, 1073741824, 1065353216 96 layer_type: "OutputLayer", 102 layerName: "OutputLayer", 106 connection: {sourceLayerIndex:1, outputSlotIndex:0 }, 111 dimensions: )" + outputShape + R"(, 112 dataType: )" + dataType + R"( 124 struct SimpleConvolution2dFixture : Convolution2dFixture
126 SimpleConvolution2dFixture() : Convolution2dFixture(
"[ 1, 5, 5, 1 ]",
134 RunTest<4, armnn::DataType::Float32>(
136 {{
"InputLayer", {1, 5, 2, 3, 5, 8, 7, 3, 6, 3, 3, 3, 9, 1, 9, 4, 1, 8, 1, 3, 6, 8, 1, 9, 2}}},
137 {{
"OutputLayer", {23, 33, 24, 91, 99, 48, 26, 50, 19}}});
TEST_CASE_FIXTURE(ClContextControlFixture, "CopyBetweenNeonAndGpu")