Update tests for tf2.10

This commit is contained in:
torzdf
2022-12-20 15:35:10 +00:00
parent d750af1e92
commit ddedb52696
+1 -1
View File
@@ -31,5 +31,5 @@ def test_backend(dummy): # pylint:disable=unused-argument
def test_keras(dummy): # pylint:disable=unused-argument
""" Sanity check to ensure that tensorflow keras is being used for CPU and standard
keras for AMD. """
assert ((_BACKEND == "cpu" and keras.__version__ in ("2.7.0", "2.8.0", "2.9.0")) or
assert ((_BACKEND == "cpu" and keras.__version__ in ("2.7.0", "2.8.0", "2.9.0", "2.10.0")) or
(_BACKEND == "amd" and keras.__version__ == "2.2.4"))