15 explicit ReshapeFixture(
const std::string &inputShape,
16 const std::string &targetShape,
17 const std::string &outputShape,
18 const std::string &dataType)
26 layer_type: "InputLayer", 32 layerName: "InputLayer", 36 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 41 dimensions: )" + inputShape + R"(, 42 dataType: )" + dataType + R"( 47 layer_type: "ReshapeLayer", 51 layerName: "ReshapeLayer", 55 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 60 dimensions: )" + inputShape + R"(, 61 dataType: )" + dataType + R"( 65 targetShape: )" + targetShape + R"(, 70 layer_type: "OutputLayer", 76 layerName: "OutputLayer", 80 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 85 dimensions: )" + outputShape + R"(, 86 dataType: )" + dataType + R"( 97 struct SimpleReshapeFixture : ReshapeFixture
99 SimpleReshapeFixture() : ReshapeFixture(
"[ 1, 9 ]",
"[ 3, 3 ]",
"[ 3, 3 ]",
100 "QuantisedAsymm8") {}
103 struct SimpleReshapeFixture2 : ReshapeFixture
105 SimpleReshapeFixture2() : ReshapeFixture(
"[ 2, 2, 1, 1 ]",
113 RunTest<2, armnn::DataType::QAsymmU8>(0,
114 { 1, 2, 3, 4, 5, 6, 7, 8, 9 },
115 { 1, 2, 3, 4, 5, 6, 7, 8, 9 });
120 RunTest<4, armnn::DataType::Float32>(0,
122 { 111, 85, 226, 3 });
void SetupSingleInputSingleOutput(const std::string &inputName, const std::string &outputName)
TEST_CASE_FIXTURE(ClContextControlFixture, "CopyBetweenNeonAndGpu")