From da4b1b2055d96aaf73704eb9b0b82d74dc2d699c Mon Sep 17 00:00:00 2001 From: Sheri Zhang Date: Mon, 2 Nov 2020 17:54:14 +0000 Subject: COMPMID-3851: Fix output quantization info for SoftmaxLayerNode Signed-off-by: Sheri Zhang Change-Id: I74b9495dcfcee619fda6f781845711c71eaaa5a6 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4306 Comments-Addressed: Arm Jenkins Reviewed-by: Michele Di Giorgio Reviewed-by: Georgios Pinitas Tested-by: Arm Jenkins --- src/graph/nodes/SoftmaxLayerNode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graph/nodes/SoftmaxLayerNode.cpp b/src/graph/nodes/SoftmaxLayerNode.cpp index fb907f4d23..031166993a 100644 --- a/src/graph/nodes/SoftmaxLayerNode.cpp +++ b/src/graph/nodes/SoftmaxLayerNode.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 Arm Limited. + * Copyright (c) 2018-2020 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -64,7 +64,7 @@ TensorDescriptor SoftmaxLayerNode::configure_output(size_t idx) const ARM_COMPUTE_ERROR_ON(src == nullptr); TensorDescriptor out_desc = src->desc(); - out_desc.quant_info = QuantizationInfo(1.f / 256.f, 0); + out_desc.quant_info = get_softmax_output_quantization_info(out_desc.data_type, false); return out_desc; } -- cgit v1.2.1