15 explicit BatchToSpaceNdFixture(
const std::string &inputShape,
16 const std::string &blockShape,
17 const std::string &crops,
18 const std::string &dataLayout,
19 const std::string &outputShape,
20 const std::string &dataType)
28 layer_type: "InputLayer", 34 layerName: "InputLayer", 38 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 43 dimensions: )" + inputShape + R"(, 44 dataType: )" + dataType + R"( 52 layer_type: "BatchToSpaceNdLayer", 56 layerName: "BatchToSpaceNdLayer", 57 layerType: "BatchToSpaceNd", 60 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 65 dimensions: )" + outputShape + R"(, 66 dataType: )" + dataType + R"( 71 blockShape: )" + blockShape + R"(, 72 crops: )" + crops + R"(, 73 dataLayout: )" + dataLayout + R"(, 78 layer_type: "OutputLayer", 84 layerName: "OutputLayer", 88 connection: {sourceLayerIndex:1, outputSlotIndex:0 }, 93 dimensions: )" + outputShape + R"(, 94 dataType: )" + dataType + R"( 108 struct SimpleBatchToSpaceNdFixture : BatchToSpaceNdFixture
110 SimpleBatchToSpaceNdFixture() : BatchToSpaceNdFixture(
"[ 4, 2, 2, 1 ]",
120 RunTest<4, armnn::DataType::Float32>(0,
122 1.0f, 3.0f, 9.0f, 11.0f,
123 2.0f, 4.0f, 10.0f, 12.0f,
124 5.0f, 7.0f, 13.0f, 15.0f,
125 6.0f, 8.0f, 14.0f, 16.0f
128 1.0f, 2.0f, 3.0f, 4.0f,
129 5.0f, 6.0f, 7.0f, 8.0f,
130 9.0f, 10.0f, 11.0f, 12.0f,
131 13.0f, 14.0f, 15.0f, 16.0f
void SetupSingleInputSingleOutput(const std::string &inputName, const std::string &outputName)
TEST_SUITE("Deserializer_BatchToSpaceND")
TEST_CASE_FIXTURE(ClContextControlFixture, "CopyBetweenNeonAndGpu")