From 7e3fd0158514a315c1b00f40c45d64caa2e184cc Mon Sep 17 00:00:00 2001 From: q-ycong-p <50014064+q-ycong-p@users.noreply.github.com> Date: Fri, 19 Aug 2022 19:58:44 -0700 Subject: [PATCH] Skip failed RFFT tests for TF-2.4.x (#2026) Signed-off-by: Yu Cong Signed-off-by: Yu Cong Co-authored-by: Yu Cong --- tests/test_backend.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_backend.py b/tests/test_backend.py index 8876da855..30dfa2b69 100755 --- a/tests/test_backend.py +++ b/tests/test_backend.py @@ -5653,6 +5653,7 @@ def func(input_val): self.config.opset = current_opset @check_tf_min_version("1.14") + @skip_tf_versions("2.4", "Fails to run on TF 2.4.x") @skip_tfjs("Fails to run tfjs model") def test_rfft_ops(self): @@ -5695,6 +5696,7 @@ def func3(x): self._run_test_case(func3, [_OUTPUT], {_INPUT: x_val}) @check_tf_min_version("1.14") + @skip_tf_versions("2.4", "Fails to run on TF 2.4.x") @skip_tfjs("TFJS executes rfft with poor accuracy") @check_opset_min_version(10, "Slice") def test_rfft_ops_fft_length(self): @@ -5706,6 +5708,7 @@ def func1_length(x): self._run_test_case(func1_length, [_OUTPUT], {_INPUT: x_val}) @check_tf_min_version("1.14") + @skip_tf_versions("2.4", "Fails to run on TF 2.4.x") @skip_tfjs("TFJS executes rfft with poor accuracy") @check_opset_min_version(10, "Slice") def test_rfft_ops_fft_length_many(self): @@ -5720,6 +5723,7 @@ def func1_length(x): self._run_test_case(func1_length, [_OUTPUT], {_INPUT: x_val}) @check_tf_min_version("1.14") + @skip_tf_versions("2.4", "Fails to run on TF 2.4.x") @check_opset_min_version(10, "Slice") def test_rfft_ops_fft_length_many_bigger(self): for i in range(4, 7):