ArmNN
 25.11
Loading...
Searching...
No Matches
QuantizeHelper.hpp File Reference
#include <armnn/utility/IgnoreUnused.hpp>
#include <armnn/utility/NumericCast.hpp>
#include <armnn/TypesUtils.hpp>
#include <BFloat16.hpp>
#include <Half.hpp>
#include <initializer_list>
#include <iterator>
#include <vector>
Include dependency graph for QuantizeHelper.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SelectiveQuantizer< T, DoQuantize >
struct  SelectiveQuantizer< T, false >
struct  SelectiveQuantizer< armnn::Half, false >
struct  SelectiveQuantizer< armnn::BFloat16, false >
struct  IsFloatingPointIterator< ItType >

Namespaces

namespace  armnnUtils

Functions

template<typename T>
SelectiveQuantize (float value, float scale, int32_t offset)
template<typename T>
float SelectiveDequantize (T value, float scale, int32_t offset)
template<typename T, typename FloatIt, typename std::enable_if< IsFloatingPointIterator< FloatIt >::value, int >::type = 0>
std::vector< T > QuantizedVector (FloatIt first, FloatIt last, float qScale, int32_t qOffset)
template<typename T>
std::vector< T > QuantizedVector (const std::vector< float > &array, float qScale=1.f, int32_t qOffset=0)
template<typename T>
std::vector< T > QuantizedVector (std::initializer_list< float > array, float qScale=1.f, int32_t qOffset=0)