aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/armnn/Tensor.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/armnn/Tensor.hpp b/include/armnn/Tensor.hpp
index 46859c4887..1bbc19f2f1 100644
--- a/include/armnn/Tensor.hpp
+++ b/include/armnn/Tensor.hpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2017,2022 Arm Ltd and Contributors. All rights reserved.
+// Copyright © 2017,2022-2023 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
@@ -157,14 +157,14 @@ public:
TensorInfo(const TensorShape& shape,
DataType dataType,
- float quantizationScale = 0.0f,
+ float quantizationScale = 1.0f,
int32_t quantizationOffset = 0,
bool isConstant = false);
TensorInfo(unsigned int numDimensions,
const unsigned int* dimensionSizes,
DataType dataType,
- float quantizationScale = 0.0f,
+ float quantizationScale = 1.0f,
int32_t quantizationOffset = 0,
bool isConstant = false);