Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils.cc275 const float bias_half_range = in AdjustWeightsForBiasScale() local
279 if (bias_half_range / kScale >= 0.5 * input_scale * weight_scales[0]) { in AdjustWeightsForBiasScale()
281 2.0 * bias_half_range / kScale * (kMinQuantizedValue / input_scale); in AdjustWeightsForBiasScale()
283 2.0 * bias_half_range / kScale * (kMaxQuantizedValue / input_scale); in AdjustWeightsForBiasScale()