Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
c614588b
"vscode:/vscode.git/clone" did not exist on "c1fec2c4860dafd87d5001af5479a928f9bf7193"
Unverified
Commit
c614588b
authored
Mar 26, 2023
by
Chris Austen
Committed by
GitHub
Mar 26, 2023
Browse files
enable onnx 1.12 to run (#1431)
parent
018e5318
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
test/py/onnx_backend_test.py
test/py/onnx_backend_test.py
+7
-0
No files found.
test/py/onnx_backend_test.py
100755 → 100644
View file @
c614588b
...
...
@@ -104,6 +104,10 @@ def disabled_tests_onnx_1_10_0(backend_test):
backend_test
.
exclude
(
r
'test_shape_start_negative_1_cpu'
)
def
disabled_tests_onnx_1_12_0
(
backend_test
):
backend_test
.
exclude
(
r
'test_scatter_elements_with_duplicate_indices_cpu'
)
def
create_backend_test
(
testname
=
None
,
target_device
=
None
):
if
target_device
is
not
None
:
c2
.
set_device
(
target_device
)
...
...
@@ -327,6 +331,9 @@ def create_backend_test(testname=None, target_device=None):
if
version
.
parse
(
onnx
.
__version__
)
>=
version
.
parse
(
"1.10.0"
):
disabled_tests_onnx_1_10_0
(
backend_test
)
if
version
.
parse
(
onnx
.
__version__
)
>=
version
.
parse
(
"1.12.0"
):
disabled_tests_onnx_1_12_0
(
backend_test
)
# import all test cases at global scope to make
# them visible to python.unittest.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment