ArmNN
 20.02
Dequantize.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <armnn/Tensor.hpp>
9 #include "Encoders.hpp"
10 #include "Decoders.hpp"
11 
12 namespace armnn
13 {
14 
15 void Dequantize(Decoder<float>& inputDecoder,
16  Encoder<float>& outputEncoder,
17  const TensorInfo& inputInfo,
18  const TensorInfo& outputInfo);
19 
20 } //namespace armnn
float Dequantize(QuantizedType value, float scale, int32_t offset)
Dequantize an 8-bit data type into a floating point data type.
Definition: TypesUtils.cpp:47
Copyright (c) 2020 ARM Limited.