diff options
author | Cathal Corbett <cathal.corbett@arm.com> | 2022-12-23 14:13:35 +0000 |
---|---|---|
committer | Cathal Corbett <cathal.corbett@arm.com> | 2022-12-23 17:41:30 +0000 |
commit | d36c3bb8d919753f4ce0f1183bc04d1ae5df5c6b (patch) | |
tree | 44c8017d4e4c1d4ffe3eeebd5efa5f918f0e4738 /python/pyarmnn/test/test_modeloption.py | |
parent | 0bb096d9cd11bec1a890066064c8a28c4a4fd6ee (diff) | |
download | armnn-d36c3bb8d919753f4ce0f1183bc04d1ae5df5c6b.tar.gz |
IVGCVSW-7369 Fix failing PyArmNN test
* test_optimizer_options_fail test failing due to BF16 check
removed from OptimizerOptions() in IVGCVSW-7214
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: Ibce5c0b0324f6d8761ffcb3e84532ca2656fcbc0
Diffstat (limited to 'python/pyarmnn/test/test_modeloption.py')
-rw-r--r-- | python/pyarmnn/test/test_modeloption.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/python/pyarmnn/test/test_modeloption.py b/python/pyarmnn/test/test_modeloption.py index a47d2da358..4773d90e08 100644 --- a/python/pyarmnn/test/test_modeloption.py +++ b/python/pyarmnn/test/test_modeloption.py @@ -118,17 +118,6 @@ def test_optimizer_options_fail(): assert "Wrong number or type of arguments" in str(err.value) - with pytest.raises(RuntimeError) as err: - OptimizerOptions(True, - False, - True, - ShapeInferenceMethod_InferAndValidate, - True, - [a], - True) - - assert "BFloat16 and Float16 optimization cannot be enabled at the same time" in str(err.value) - with pytest.raises(TypeError) as err: oo = OptimizerOptions(True, False, |