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
63ada580
Unverified
Commit
63ada580
authored
Oct 06, 2022
by
Charlie Lin
Committed by
GitHub
Oct 06, 2022
Browse files
Update src/pad_calc.cpp
Co-authored-by:
Umang Yadav
<
29876643+umangyadav@users.noreply.github.com
>
parent
84add0fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/pad_calc.cpp
src/pad_calc.cpp
+1
-1
No files found.
src/pad_calc.cpp
View file @
63ada580
...
...
@@ -59,7 +59,7 @@ std::vector<std::size_t> calc_dyn_auto_pad(const std::vector<std::size_t>& input
bool
use_upper
)
{
std
::
vector
<
std
::
size_t
>
padding
;
assert
(
input_lens
.
size
>=
4
);
assert
(
input_lens
.
size
()
>=
4
);
std
::
size_t
num_spatial_dims
=
input_lens
.
size
()
-
2
;
padding
.
resize
(
2
*
num_spatial_dims
);
for
(
std
::
size_t
i
=
0
;
i
<
num_spatial_dims
;
i
++
)
...
...
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