Struct Qnn_FloatScaleOffset_t

Struct Documentation

struct Qnn_FloatScaleOffset_t

A struct to express float scale-offset quantization encoding.

float_value = (quantized_value + offset/scale) * scale

Public Members

float scale

scale must be strictly positive

float offset