From 104fbd7b533c40f19465c85e884f10ae500e639e Mon Sep 17 00:00:00 2001 From: Sang-Hoon Park Date: Fri, 13 Mar 2020 11:31:53 +0000 Subject: COMPMID-3221: Add DeconvolutionLayerDescriptor A new struct for DeconvolutionLayerNode is added for better extendability. Change-Id: I935277e8073a8295de7b0059b946cb637085f1ff Signed-off-by: Sang-Hoon Park Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2883 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- examples/graph_edsr.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'examples') diff --git a/examples/graph_edsr.h b/examples/graph_edsr.h index e31cc8940a..cb467d0377 100644 --- a/examples/graph_edsr.h +++ b/examples/graph_edsr.h @@ -1245,13 +1245,14 @@ public: _graph.add_connection(id_pre_upscale_Conv2D_bias, 0, id_pre_upscale_BiasAdd, 2); NodeID id_upscale_net_FakeQuantWithMinMaxVars_1 = _graph.add_node( - PadStrideInfo - { - 2, 2, - 0, 0, - 0, 0, - DimensionRoundingType::FLOOR }, - QuantizationInfo{ 0.004990961868315935, 26 }); + descriptors::DeconvolutionLayerDescriptor + { + PadStrideInfo{ + 2, 2, + 0, 0, + 0, 0, + DimensionRoundingType::FLOOR }, + QuantizationInfo{ 0.004990961868315935, 26 } }); INode *node_upscale_net_FakeQuantWithMinMaxVars_1 = _graph.node(id_upscale_net_FakeQuantWithMinMaxVars_1); node_upscale_net_FakeQuantWithMinMaxVars_1->set_common_node_parameters(NodeParams{ "upscale_net_FakeQuantWithMinMaxVars_1", target }); _graph.add_connection(id_pre_upscale_BiasAdd, 0, id_upscale_net_FakeQuantWithMinMaxVars_1, 0); -- cgit v1.2.1