Lines Matching refs:accumulated_max
219 const int32_t accumulated_max = *std::max_element(accumulators.cbegin(), accumulators.cend()); in TestQS8() local
221 const double output_scale = double(uint32_t(accumulated_max - accumulated_min)) / 255.0; in TestQS8()
223 lrint(-0.5 - 0.5 * double(accumulated_min + accumulated_max) / output_scale), in TestQS8()
400 const int32_t accumulated_max = *std::max_element(accumulators.cbegin(), accumulators.cend()); in TestQU8() local
402 const double output_scale = double(uint32_t(accumulated_max - accumulated_min)) / 255.0; in TestQU8()
404 lrint(127.5 - 0.5 * double(accumulated_min + accumulated_max) / output_scale), in TestQU8()
570 const float accumulated_max = *std::max_element(output_ref.cbegin(), output_ref.cend()); in TestF32() local
573 accumulated_min + (accumulated_max - accumulated_min) / 255.0f * float(qmin()); in TestF32()
575 accumulated_max - (accumulated_max - accumulated_min) / 255.0f * float(255 - qmax()); in TestF32()
745 const float accumulated_max = *std::max_element(output_ref.cbegin(), output_ref.cend()); in TestF16() local
746 const float accumulated_range = accumulated_max - accumulated_min; in TestF16()
748 …const float scaled_max = fp16_ieee_to_fp32_value(fp16_ieee_from_fp32_value(accumulated_max - accum… in TestF16()