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
2ec49d02
Commit
2ec49d02
authored
Jul 13, 2022
by
charlie
Browse files
Merge branch 'dyn_conv' of github.com:ROCmSoftwarePlatform/AMDMIGraphX into dyn_nms
parents
22fee23b
d5636acd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/onnx/parse_convolution.cpp
src/onnx/parse_convolution.cpp
+5
-1
No files found.
src/onnx/parse_convolution.cpp
View file @
2ec49d02
...
@@ -83,7 +83,11 @@ struct parse_convolution : op_parser<parse_convolution>
...
@@ -83,7 +83,11 @@ struct parse_convolution : op_parser<parse_convolution>
if
(
contains
(
info
.
attributes
,
"auto_pad"
))
if
(
contains
(
info
.
attributes
,
"auto_pad"
))
{
{
auto
weight_lens
=
weights
->
get_shape
().
max_lens
();
if
(
l0_shape
.
dynamic
()
or
weights
->
get_shape
().
dynamic
())
{
MIGRAPHX_THROW
(
"PARSE_CONV: auto_pad and dynamic input shapes not supported"
);
}
auto
weight_lens
=
weights
->
get_shape
().
lens
();
std
::
vector
<
std
::
size_t
>
k_lens
(
weight_lens
.
begin
()
+
2
,
weight_lens
.
end
());
std
::
vector
<
std
::
size_t
>
k_lens
(
weight_lens
.
begin
()
+
2
,
weight_lens
.
end
());
cal_auto_padding_size
(
info
,
cal_auto_padding_size
(
info
,
values
,
values
,
...
...
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