Go to the source code of this file.
◆ TEST_SUITE()
TEST_SUITE |
( |
"Deserializer_SpaceToBatchND" |
| ) |
|
Definition at line 11 of file DeserializeSpaceToBatchNd.cpp.
References ParserFlatbuffersSerializeFixture::SetupSingleInputSingleOutput(), and TEST_CASE_FIXTURE().
15 explicit SpaceToBatchNdFixture(
const std::string &inputShape,
16 const std::string &blockShape,
17 const std::string &padList,
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: "SpaceToBatchNdLayer", 56 layerName: "SpaceToBatchNdLayer", 57 layerType: "SpaceToBatchNd", 60 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 65 dimensions: )" + outputShape + R"(, 66 dataType: )" + dataType + R"( 71 blockShape: )" + blockShape + R"(, 72 padList: )" + padList + 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 SimpleSpaceToBatchNdFixture : SpaceToBatchNdFixture
110 SimpleSpaceToBatchNdFixture() : SpaceToBatchNdFixture(
"[ 2, 1, 2, 4 ]",
120 RunTest<4, armnn::DataType::Float32>(0,
122 1.0f, 2.0f, 3.0f, 4.0f,
123 5.0f, 6.0f, 7.0f, 8.0f,
124 9.0f, 10.0f, 11.0f, 12.0f,
125 13.0f, 14.0f, 15.0f, 16.0f
void SetupSingleInputSingleOutput(const std::string &inputName, const std::string &outputName)
TEST_CASE_FIXTURE(ClContextControlFixture, "CopyBetweenNeonAndGpu")