16 explicit DepthToSpaceFixture(
const std::string& inputShape,
17 const std::string& outputShape,
18 const std::string& blockSize,
19 const std::string& dataLayout,
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: "DepthToSpaceLayer", 56 layerName: "DepthToSpaceLayer", 57 layerType: "DepthToSpace", 60 connection: {sourceLayerIndex:0, outputSlotIndex:0 }, 65 dimensions: )" + outputShape + R"(, 66 dataType: )" + dataType + R"( 71 blockSize: )" + blockSize + R"(, 72 dataLayout: )" + dataLayout + R"(, 77 layer_type: "OutputLayer", 83 layerName: "OutputLayer", 87 connection: {sourceLayerIndex:1, outputSlotIndex:0 }, 92 dimensions: )" + outputShape + R"(, 93 dataType: )" + dataType + R"( 107 struct DepthToSpaceFloat32Fixture : DepthToSpaceFixture
109 DepthToSpaceFloat32Fixture() : DepthToSpaceFixture(
"[ 1, 2, 2, 4 ]",
118 RunTest<4, armnn::DataType::Float32>(
123 9.f, 10.f, 11.f, 12.f,
124 13.f, 14.f, 15.f, 16.f
129 9.f, 10.f, 13.f, 14.f,
130 11.f, 12.f, 15.f, 16.f
TEST_SUITE("Deserializer_DepthToSpace")
void SetupSingleInputSingleOutput(const std::string &inputName, const std::string &outputName)
TEST_CASE_FIXTURE(ClContextControlFixture, "CopyBetweenNeonAndGpu")