Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
3c089942
Commit
3c089942
authored
May 03, 2019
by
Khalique
Browse files
change braces to parens
parent
36b9d2da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
test/gpu/miopen.cpp
test/gpu/miopen.cpp
+1
-1
test/onnx/onnx_test.cpp
test/onnx/onnx_test.cpp
+1
-1
No files found.
test/gpu/miopen.cpp
View file @
3c089942
...
@@ -1315,7 +1315,7 @@ struct test_clip : verify_program<test_clip>
...
@@ -1315,7 +1315,7 @@ struct test_clip : verify_program<test_clip>
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
auto
x
=
p
.
add_parameter
(
"x"
,
migraphx
::
shape
{
migraphx
::
shape
::
float_type
,
{
3
}});
auto
x
=
p
.
add_parameter
(
"x"
,
migraphx
::
shape
{
migraphx
::
shape
::
float_type
,
{
3
}});
p
.
add_instruction
(
migraphx
::
op
::
clip
{
6.0
,
0.0
}
,
x
);
p
.
add_instruction
(
migraphx
::
op
::
clip
(
6.0
,
0.0
)
,
x
);
return
p
;
return
p
;
}
}
};
};
...
...
test/onnx/onnx_test.cpp
View file @
3c089942
...
@@ -798,7 +798,7 @@ TEST_CASE(clip_test)
...
@@ -798,7 +798,7 @@ TEST_CASE(clip_test)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
auto
l0
=
p
.
add_parameter
(
"0"
,
migraphx
::
shape
{
migraphx
::
shape
::
float_type
,
{
3
}});
auto
l0
=
p
.
add_parameter
(
"0"
,
migraphx
::
shape
{
migraphx
::
shape
::
float_type
,
{
3
}});
p
.
add_instruction
(
migraphx
::
op
::
clip
{
6.0
,
0.0
}
,
l0
);
p
.
add_instruction
(
migraphx
::
op
::
clip
(
6.0
,
0.0
)
,
l0
);
auto
prog
=
migraphx
::
parse_onnx
(
"clip_test.onnx"
);
auto
prog
=
migraphx
::
parse_onnx
(
"clip_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
...
...
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