Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/
Dlogsoftmax_quantized_test.cc119 const int median_diff = diff[diff.size() / 2]; in CheckOutputData() local
134 std::abs(median_diff) == 0 && std::abs(min_diff) <= 1 && in CheckOutputData()
139 << ", median_diff=" << median_diff << ", min_diff=" << min_diff in CheckOutputData()
Ddepthwiseconv_per_channel_quantized_test.cc160 const int median_diff = diff[diff.size() / 2]; in CompareRoundingResults() local
179 EXPECT_LE(std::abs(median_diff), diff_median_tolerance); in CompareRoundingResults()
184 std::abs(median_diff) <= diff_median_tolerance && in CompareRoundingResults()
Dsoftmax_quantized_test.cc83 const int median_diff = diff[diff.size() / 2]; in CheckOutputData() local
98 ASSERT_EQ(std::abs(median_diff), 0); in CheckOutputData()
Ddepthwiseconv_quantized_test.cc687 const int median_diff = diff[diff.size() / 2]; in TestOneDepthwiseConvWithGivenOutputShift() local
712 EXPECT_LE(std::abs(median_diff), diff_median_tolerance); in TestOneDepthwiseConvWithGivenOutputShift()
717 std::abs(median_diff) <= diff_median_tolerance && in TestOneDepthwiseConvWithGivenOutputShift()