Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/
Ddepthwiseconv_float_test.cc50 double sum_abs_diff = 0; in TestOneDepthwiseConv() local
53 sum_abs_diff += std::abs(output_data[i] - reference_output_data[i]); in TestOneDepthwiseConv()
56 if (sum_abs_diff != 0.f) { in TestOneDepthwiseConv()
58 static_cast<float>(sum_abs_diff / output_buffer_size); in TestOneDepthwiseConv()
Dsoftmax_quantized_test.cc73 int64_t sum_abs_diff = 0; in CheckOutputData() local
77 sum_abs_diff += std::abs(diff[i]); in CheckOutputData()
85 const float mean_abs_diff = static_cast<float>(sum_abs_diff) / buffer_size; in CheckOutputData()
Dlogsoftmax_quantized_test.cc109 int64_t sum_abs_diff = 0; in CheckOutputData() local
113 sum_abs_diff += std::abs(diff[i]); in CheckOutputData()
121 const float mean_abs_diff = static_cast<float>(sum_abs_diff) / buffer_size; in CheckOutputData()
Ddepthwiseconv_per_channel_quantized_test.cc149 std::int64_t sum_abs_diff = 0; in CompareRoundingResults() local
154 sum_abs_diff += std::abs(diff[i]); in CompareRoundingResults()
162 const float mean_abs_diff = static_cast<float>(sum_abs_diff) / flat_size; in CompareRoundingResults()
Ddepthwiseconv_quantized_test.cc674 std::int64_t sum_abs_diff = 0; in TestOneDepthwiseConvWithGivenOutputShift() local
679 sum_abs_diff += std::abs(diff[i]); in TestOneDepthwiseConvWithGivenOutputShift()
690 static_cast<float>(sum_abs_diff) / output_buffer_size; in TestOneDepthwiseConvWithGivenOutputShift()
/external/tensorflow/tensorflow/lite/kernels/
Dcpu_backend_gemm_test.cc161 double sum_abs_diff = 0; in ComputeErrorStats() local
171 sum_abs_diff += std::abs(diff); in ComputeErrorStats()
176 error_stats->mean_abs_diff = sum_abs_diff / actual.size(); in ComputeErrorStats()