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
eb3a5886
"src/targets/vscode:/vscode.git/clone" did not exist on "3eb4f7756ae321cc61af866248f9c1766bccd22a"
Commit
eb3a5886
authored
Dec 04, 2018
by
Khalique
Browse files
added extra coverage to unknown test
parent
433e75b0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
test/onnx/onnx_test.cpp
test/onnx/onnx_test.cpp
+1
-0
test/onnx/unknown_test.onnx
test/onnx/unknown_test.onnx
+3
-2
No files found.
test/onnx/onnx_test.cpp
View file @
eb3a5886
...
...
@@ -334,6 +334,7 @@ void unknown_test()
auto
l0
=
p
.
add_parameter
(
"0"
,
migraphx
::
shape
{
migraphx
::
shape
::
float_type
,
{
2
,
3
,
4
,
5
}});
auto
l1
=
p
.
add_parameter
(
"1"
,
migraphx
::
shape
{
migraphx
::
shape
::
float_type
,
{
3
,
4
}});
p
.
add_instruction
(
migraphx
::
unknown
{
"Unknown"
},
l0
,
l1
);
p
.
add_instruction
(
migraphx
::
unknown
{
"Unknown"
});
auto
prog
=
migraphx
::
parse_onnx
(
"unknown_test.onnx"
);
EXPECT
(
p
==
prog
);
...
...
test/onnx/unknown_test.onnx
View file @
eb3a5886
unknown-example:
q
unknown-example:
|
0
12"Unknowntest-unknownZ
12"Unknown
"Unknowntest-unknownZ
0
...
...
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