Skip to content

Commit

Permalink
Skip failed RFFT tests for TF-2.4.x (#2026)
Browse files Browse the repository at this point in the history
Signed-off-by: Yu Cong <[email protected]>

Signed-off-by: Yu Cong <[email protected]>
Co-authored-by: Yu Cong <[email protected]>
  • Loading branch information
q-ycong-p and Yu Cong authored Aug 20, 2022
1 parent 4debef7 commit 7e3fd01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand Down Expand Up @@ -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):
Expand All @@ -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):
Expand All @@ -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):
Expand Down

0 comments on commit 7e3fd01

Please sign in to comment.