• Home
  • Raw
  • Download

Lines Matching refs:accumulated_max

634         int32_t accumulated_max = accumulators[c];  in TestNHWCxQC8()  local
637accumulated_max = std::max(accumulated_max, accumulators[px * groups() * group_output_channels() +… in TestNHWCxQC8()
641 if (accumulated_max != 0) { in TestNHWCxQC8()
643 …nt32_t(std::numeric_limits<int8_t>::max()) - int32_t(output_zero_point)) / float(accumulated_max)); in TestNHWCxQC8()
869 const int32_t accumulated_max = *std::max_element(accumulators.cbegin(), accumulators.cend()); in TestNHWCxQS8() local
871 const double output_scale = double(uint32_t(accumulated_max - accumulated_min)) / 255.0; in TestNHWCxQS8()
873 lrint(-0.5 - 0.5 * double(accumulated_min + accumulated_max) / output_scale), in TestNHWCxQS8()
1106 const int32_t accumulated_max = *std::max_element(accumulators.cbegin(), accumulators.cend()); in TestNHWCxQU8() local
1108 const double output_scale = double(uint32_t(accumulated_max - accumulated_min)) / 255.0; in TestNHWCxQU8()
1110 lrint(127.5 - 0.5 * double(accumulated_min + accumulated_max) / output_scale), in TestNHWCxQU8()
1337 const float accumulated_max = *std::max_element(output_ref.cbegin(), output_ref.cend()); in TestNHWCxF32() local
1339 …const float output_min = accumulated_min + (accumulated_max - accumulated_min) / 255.0f * float(qm… in TestNHWCxF32()
1340 …const float output_max = accumulated_max - (accumulated_max - accumulated_min) / 255.0f * float(25… in TestNHWCxF32()
1612 const float accumulated_max = *std::max_element(output_ref.cbegin(), output_ref.cend()); in TestNHWCxF16() local
1613 const float accumulated_range = accumulated_max - accumulated_min; in TestNHWCxF16()
1615 …const float scaled_max = fp16_ieee_to_fp32_value(fp16_ieee_from_fp32_value(accumulated_max - accum… in TestNHWCxF16()
1878 const float accumulated_max = *std::max_element(output_ref.cbegin(), output_ref.cend()); in TestNCHWxF32() local
1881 accumulated_min + (accumulated_max - accumulated_min) / 255.0f * float(qmin()); in TestNCHWxF32()
1883 accumulated_max - (accumulated_max - accumulated_min) / 255.0f * float(255 - qmax()); in TestNCHWxF32()
2090 int32_t accumulated_max = accumulators[c]; in TestSetupNHWCxQC8() local
2093accumulated_max = std::max(accumulated_max, accumulators[px * groups() * group_output_channels() +… in TestSetupNHWCxQC8()
2097 if (accumulated_max != 0) { in TestSetupNHWCxQC8()
2099 …nt32_t(std::numeric_limits<int8_t>::max()) - int32_t(output_zero_point)) / float(accumulated_max)); in TestSetupNHWCxQC8()
2347 const int32_t accumulated_max = *std::max_element(accumulators.cbegin(), accumulators.cend()); in TestSetupNHWCxQS8() local
2349 const double output_scale = double(uint32_t(accumulated_max - accumulated_min)) / 255.0; in TestSetupNHWCxQS8()
2351 lrint(-0.5 - 0.5 * double(accumulated_min + accumulated_max) / output_scale), in TestSetupNHWCxQS8()
2578 const int32_t accumulated_max = *std::max_element(accumulators.cbegin(), accumulators.cend()); in TestSetupNHWCxQU8() local
2580 const double output_scale = double(uint32_t(accumulated_max - accumulated_min)) / 255.0; in TestSetupNHWCxQU8()
2582 lrint(127.5 - 0.5 * double(accumulated_min + accumulated_max) / output_scale), in TestSetupNHWCxQU8()
2803 const float accumulated_max = *std::max_element(output_ref.cbegin(), output_ref.cend()); in TestSetupNHWCxF16() local
2804 const float accumulated_range = accumulated_max - accumulated_min; in TestSetupNHWCxF16()
2806 …const float scaled_max = fp16_ieee_to_fp32_value(fp16_ieee_from_fp32_value(accumulated_max - accum… in TestSetupNHWCxF16()
3017 const float accumulated_max = *std::max_element(output_ref.cbegin(), output_ref.cend()); in TestSetupNHWCxF32() local
3019 …const float output_min = accumulated_min + (accumulated_max - accumulated_min) / 255.0f * float(qm… in TestSetupNHWCxF32()
3020 …const float output_max = accumulated_max - (accumulated_max - accumulated_min) / 255.0f * float(25… in TestSetupNHWCxF32()