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
7d74dd8c
Commit
7d74dd8c
authored
Jun 26, 2019
by
Shucai Xiao
Browse files
clang format
parent
d7d8b1c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test/onnx/onnx_test.cpp
test/onnx/onnx_test.cpp
+2
-2
No files found.
test/onnx/onnx_test.cpp
View file @
7d74dd8c
...
...
@@ -787,7 +787,7 @@ TEST_CASE(logsoftmax)
TEST_CASE
(
argmax
)
{
migraphx
::
program
p
;
auto
l0
=
p
.
add_parameter
(
"x"
,
migraphx
::
shape
{
migraphx
::
shape
::
float_type
,
{
3
,
4
,
5
,
6
}});
auto
l0
=
p
.
add_parameter
(
"x"
,
migraphx
::
shape
{
migraphx
::
shape
::
float_type
,
{
3
,
4
,
5
,
6
}});
p
.
add_instruction
(
migraphx
::
op
::
argmax
{
2
,
0
},
l0
);
auto
prog
=
migraphx
::
parse_onnx
(
"argmax_test.onnx"
);
...
...
@@ -797,7 +797,7 @@ TEST_CASE(argmax)
TEST_CASE
(
argmin
)
{
migraphx
::
program
p
;
auto
l0
=
p
.
add_parameter
(
"x"
,
migraphx
::
shape
{
migraphx
::
shape
::
float_type
,
{
3
,
4
,
5
,
6
}});
auto
l0
=
p
.
add_parameter
(
"x"
,
migraphx
::
shape
{
migraphx
::
shape
::
float_type
,
{
3
,
4
,
5
,
6
}});
p
.
add_instruction
(
migraphx
::
op
::
argmin
{
3
,
0
},
l0
);
auto
prog
=
migraphx
::
parse_onnx
(
"argmin_test.onnx"
);
...
...
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