MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / quantize

Function quantize

src/core/helpers/PoolingHelpers.h:97–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95
96template <typename T>
97inline typename std::enable_if<std::is_same<T, int8_t>::value, int8_t>::type
98quantize(float val, const UniformQuantizationInfo &info)
99{
100 return quantize_qasymm8_signed(val, info);
101}
102
103template <typename T>
104inline typename std::enable_if<std::is_same<T, uint8_t>::value, uint8_t>::type

Calls 2

quantize_qasymm8_signedFunction · 0.85
quantize_qasymm8Function · 0.50

Tested by

no test coverage detected