Home
last modified time | relevance | path

Searched refs:half_scale (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils.cc119 const float half_scale = kMaxQuantizedValue; in SymmetricPerChannelQuantization() local
123 output_scales->at(channel_idx) = half_range / half_scale; in SymmetricPerChannelQuantization()
127 scale_invs[channel_idx] = half_scale / half_range; in SymmetricPerChannelQuantization()