Skip of 2 failing CumSum tests (#13282)

This commit is contained in:
Tomasz Dołbniak 2022-09-29 16:16:17 +02:00 committed by GitHub
parent 371186ee05
commit 5990cf9090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,6 +256,8 @@ class TestCumSum(OnnxRuntimeLayerTest):
use_old_api):
if 'axis' not in params:
pytest.skip('No axis cases fail in ONNX')
elif 'axis' in params and params['axis'] == -2 and exclusive == 1:
pytest.skip('Disabled due to an exception thrown by ONNXRuntime for this use case')
self._test(
*self.create_net(**params, exclusive=exclusive, reverse=reverse, ir_version=ir_version),
ie_device, precision, ir_version, temp_dir=temp_dir, use_old_api=use_old_api)
@ -268,6 +270,8 @@ class TestCumSum(OnnxRuntimeLayerTest):
temp_dir, use_old_api):
if 'axis' not in params:
pytest.skip('No axis cases fail in ONNX')
elif 'axis' in params and params['axis'] == -2 and exclusive == 1:
pytest.skip('Disabled due to an exception thrown by ONNXRuntime for this use case')
self._test(*self.create_net_const(**params, precision=precision, exclusive=exclusive,
reverse=reverse,
ir_version=ir_version), ie_device, precision, ir_version,