aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/workloads/Dequantize.cpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2020-03-19 17:03:14 +0000
committerJim Flynn <jim.flynn@arm.com>2020-03-19 17:03:14 +0000
commit0e2bab81442ee6cc2b94e4f7881ed0c5c6af65e7 (patch)
treeb0af08b5a0b74149fca422151127ac6310385399 /src/backends/reference/workloads/Dequantize.cpp
parent8c3259fa007d43fcc5ea56fe6928526dbe79f3c0 (diff)
downloadarmnn-0e2bab81442ee6cc2b94e4f7881ed0c5c6af65e7.tar.gz
Creating gh-pages documentation for ArmNN
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/backends/reference/workloads/Dequantize.cpp')
-rw-r--r--src/backends/reference/workloads/Dequantize.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/backends/reference/workloads/Dequantize.cpp b/src/backends/reference/workloads/Dequantize.cpp
deleted file mode 100644
index 4025e8d7fa..0000000000
--- a/src/backends/reference/workloads/Dequantize.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// Copyright © 2019 Arm Ltd. All rights reserved.
-// SPDX-License-Identifier: MIT
-//
-
-#include "Dequantize.hpp"
-
-#include <boost/core/ignore_unused.hpp>
-namespace armnn
-{
-
-void Dequantize(Decoder<float>& inputDecoder,
- Encoder<float>& outputEncoder,
- const TensorInfo& inputInfo,
- const TensorInfo& outputInfo)
-{
- boost::ignore_unused(outputInfo);
- BOOST_ASSERT(inputInfo.GetNumElements() == outputInfo.GetNumElements());
- for (unsigned int i = 0; i < inputInfo.GetNumElements(); i++)
- {
- // inputDecoder.Get() dequantizes the data element from whatever
- // type is given by inputInfo to fp32 (If MakeDecoder supports that dequantization)
- // outputEncoder.Set() transforms the data element to whatever type is
- // given by outputInfo (if MakeEncoder supports that transformation)
- outputEncoder.Set(inputDecoder.Get());
- ++outputEncoder;
- ++inputDecoder;
- }
-}
-
-} // armnn namespace \ No newline at end of file