From a4d90238c02112e05be18127ae01bfad2686cf6c Mon Sep 17 00:00:00 2001 From: Siju Samuel Date: Mon, 24 Feb 2020 12:26:44 +0530 Subject: [PATCH] Testcase check added to run in tf version above 1.15.0 --- tests/python/frontend/tflite/test_forward.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/python/frontend/tflite/test_forward.py b/tests/python/frontend/tflite/test_forward.py index 51c5dad4b85bc..e4612df047200 100644 --- a/tests/python/frontend/tflite/test_forward.py +++ b/tests/python/frontend/tflite/test_forward.py @@ -1132,7 +1132,8 @@ def test_all_reduce(): _test_forward_reduce_quantized(_test_reduce_mean) _test_forward_reduce(_test_reduce_prod) _test_forward_reduce(_test_reduce_sum) - _test_forward_reduce(_test_reduce_any, dtype="bool") + if package_version.parse(tf.VERSION) >= package_version.parse('1.15.0'): + _test_forward_reduce(_test_reduce_any, dtype="bool") #######################################################################