From d341ba54824f87df6923ac0a4a7e7451035120f1 Mon Sep 17 00:00:00 2001 From: Trinity Lundgren Date: Thu, 12 May 2022 00:15:27 +0000 Subject: [PATCH] Unguard now-passing conv test, clean up outdated comments (#1125) BUG=b/228102789 Co-authored-by: Ting Yan <94130036+tingyan19@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- tensorflow/lite/micro/kernels/conv_test.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tensorflow/lite/micro/kernels/conv_test.cc b/tensorflow/lite/micro/kernels/conv_test.cc index 9562b9e9..86dbee1a 100644 --- a/tensorflow/lite/micro/kernels/conv_test.cc +++ b/tensorflow/lite/micro/kernels/conv_test.cc @@ -637,8 +637,8 @@ TF_LITE_MICRO_TEST(BroadcastPerLayerQuantizationToPerChannelShouldMatchGolden) { tflite::Register_CONV_2D(), output_data)); } -// This test does not pass when run as part of the Xtensa conv test suite. -// Move test below '#endif // !defined(XTENSA)' guard below to reproduce. +#endif // !defined(XTENSA) + TF_LITE_MICRO_TEST(Int8Filter1x3x3x1ShouldMatchGoldenEvenInputPaddingSame) { using tflite::ElementCount; using tflite::kConvFilter1x3x3x1; @@ -738,10 +738,6 @@ TF_LITE_MICRO_TEST(Int8Filter1x3x3x1ShouldMatchGoldenEvenInputPaddingSame) { 1.0 /* tolerance */)); } -#endif // !defined(XTENSA) - -// Same as Int8Filter1x3x3x1ShouldMatchGoldenEvenInputPaddingSame, except with -// an odd-size input of 5x5 instead of of 4x4. TF_LITE_MICRO_TEST(Int8Filter1x3x3x1ShouldMatchGoldenOddInputPaddingSame) { using tflite::ElementCount; using tflite::kConvFilter1x3x3x1; -- GitLab