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
ac7a0025
Commit
ac7a0025
authored
Mar 23, 2023
by
Alan Turner
Browse files
Formatting
parent
3f322644
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
src/api/migraphx.py
src/api/migraphx.py
+1
-0
test/py/onnx_backend_test.py
test/py/onnx_backend_test.py
+1
-0
No files found.
src/api/migraphx.py
View file @
ac7a0025
...
@@ -90,6 +90,7 @@ def tf_options_type_wrap(p):
...
@@ -90,6 +90,7 @@ def tf_options_type_wrap(p):
def
auto_handle
(
*
args
,
**
kwargs
):
def
auto_handle
(
*
args
,
**
kwargs
):
def
with_handle
(
f
):
def
with_handle
(
f
):
return
api
.
handle
(
'migraphx_'
+
f
.
__name__
,
'migraphx::'
+
f
.
__name__
,
return
api
.
handle
(
'migraphx_'
+
f
.
__name__
,
'migraphx::'
+
f
.
__name__
,
*
args
,
**
kwargs
)(
f
)
*
args
,
**
kwargs
)(
f
)
...
...
test/py/onnx_backend_test.py
View file @
ac7a0025
...
@@ -38,6 +38,7 @@ pytest_plugins = 'onnx.backend.test.report',
...
@@ -38,6 +38,7 @@ pytest_plugins = 'onnx.backend.test.report',
class
MIGraphXBackendTest
(
onnx
.
backend
.
test
.
BackendTest
):
class
MIGraphXBackendTest
(
onnx
.
backend
.
test
.
BackendTest
):
def
__init__
(
self
,
backend
,
parent_module
=
None
):
def
__init__
(
self
,
backend
,
parent_module
=
None
):
super
(
MIGraphXBackendTest
,
self
).
__init__
(
backend
,
parent_module
)
super
(
MIGraphXBackendTest
,
self
).
__init__
(
backend
,
parent_module
)
...
...
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