diff options
author | Sang-Hoon Park <sang-hoon.park@arm.com> | 2020-03-06 16:32:01 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-03-11 18:34:03 +0000 |
commit | 6800117df3be825f0ec5c6cc71c4377322f51b99 (patch) | |
tree | 0e579a271f2676dc2d6aa947df29a5cf0ab8bd1c /src/graph/nodes/DeconvolutionLayerNode.cpp | |
parent | 9204646e091ffc25eda61768537357916a4f7df4 (diff) | |
download | ComputeLibrary-6800117df3be825f0ec5c6cc71c4377322f51b99.tar.gz |
COMPMID-3221: (DATA_UPDATE) add graph example for EDSR
Change-Id: Id74190e2af444da8dab4813fd65016104f3882a9
Signed-off-by: Sang-Hoon Park <sang-hoon.park@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2862
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/graph/nodes/DeconvolutionLayerNode.cpp')
-rw-r--r-- | src/graph/nodes/DeconvolutionLayerNode.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/graph/nodes/DeconvolutionLayerNode.cpp b/src/graph/nodes/DeconvolutionLayerNode.cpp index d4a5b769e7..a2e4e2b056 100644 --- a/src/graph/nodes/DeconvolutionLayerNode.cpp +++ b/src/graph/nodes/DeconvolutionLayerNode.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019 ARM Limited. + * Copyright (c) 2018-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -32,8 +32,8 @@ namespace arm_compute { namespace graph { -DeconvolutionLayerNode::DeconvolutionLayerNode(PadStrideInfo info) - : _info(std::move(info)) +DeconvolutionLayerNode::DeconvolutionLayerNode(PadStrideInfo info, QuantizationInfo out_quant_info) + : _info(std::move(info)), _out_quant_info(std::move(out_quant_info)) { _input_edges.resize(3, EmptyEdgeID); _outputs.resize(1, NullTensorID); @@ -88,6 +88,12 @@ TensorDescriptor DeconvolutionLayerNode::configure_output(size_t idx) const ARM_COMPUTE_ERROR_ON(src == nullptr || weights == nullptr); TensorDescriptor output_info = compute_output_descriptor(src->desc(), weights->desc(), _info); + + if(!_out_quant_info.empty()) + { + output_info.set_quantization_info(_out_quant_info); + } + return output_info; } |