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

Function vrequantize_pooling

src/core/helpers/PoolingHelpers.h:189–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187
188template <>
189inline uint8x16_t vrequantize_pooling(uint8x8_t vec1, uint8x8_t vec2, const UniformQuantizationInfo &requant_qinfo)
190{
191 const float32x4x4_t acc = {{
192 vcvtq_f32_u32(vmovl_u16(vget_low_u16(vmovl_u8((vec1))))),
193 vcvtq_f32_u32(vmovl_u16(vget_high_u16(vmovl_u8((vec1))))),
194 vcvtq_f32_u32(vmovl_u16(vget_low_u16(vmovl_u8((vec2))))),
195 vcvtq_f32_u32(vmovl_u16(vget_high_u16(vmovl_u8((vec2))))),
196 }};
197 return vquantize(acc, requant_qinfo);
198}
199
200template <>
201inline int8x16_t vrequantize_pooling(int8x8_t vec1, int8x8_t vec2, const UniformQuantizationInfo &requant_qinfo)

Callers

nothing calls this directly

Calls 2

vquantize_signedFunction · 0.85
vquantizeFunction · 0.50

Tested by

no test coverage detected