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
936f8f48
Commit
936f8f48
authored
Nov 06, 2023
by
Paul
Browse files
Format
parent
021bf1f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/verify/test_pad_asymmetrical.cpp
test/verify/test_pad_asymmetrical.cpp
+1
-1
No files found.
test/verify/test_pad_asymmetrical.cpp
View file @
936f8f48
...
@@ -34,7 +34,7 @@ struct test_pad_asymmetrical : verify_program<test_pad_asymmetrical>
...
@@ -34,7 +34,7 @@ struct test_pad_asymmetrical : verify_program<test_pad_asymmetrical>
migraphx
::
program
p
;
migraphx
::
program
p
;
auto
*
mm
=
p
.
get_main_module
();
auto
*
mm
=
p
.
get_main_module
();
migraphx
::
shape
s
{
migraphx
::
shape
::
int32_type
,
{
1
,
16
,
1
,
1
}};
migraphx
::
shape
s
{
migraphx
::
shape
::
int32_type
,
{
1
,
16
,
1
,
1
}};
auto
x
=
mm
->
add_parameter
(
"x"
,
s
);
auto
x
=
mm
->
add_parameter
(
"x"
,
s
);
mm
->
add_instruction
(
migraphx
::
make_op
(
"pad"
,
{{
"pads"
,
{
0
,
0
,
0
,
0
,
0
,
0
,
1
,
1
}}}),
x
);
mm
->
add_instruction
(
migraphx
::
make_op
(
"pad"
,
{{
"pads"
,
{
0
,
0
,
0
,
0
,
0
,
0
,
1
,
1
}}}),
x
);
return
p
;
return
p
;
}
}
...
...
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