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
33d6d426
Commit
33d6d426
authored
Jun 04, 2019
by
Khalique
Browse files
add std modifier
parent
88dac3b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/include/migraphx/pad_calc.hpp
src/include/migraphx/pad_calc.hpp
+1
-1
No files found.
src/include/migraphx/pad_calc.hpp
View file @
33d6d426
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
namespace
migraphx
{
namespace
migraphx
{
inline
namespace
MIGRAPHX_INLINE_NS
{
inline
namespace
MIGRAPHX_INLINE_NS
{
inline
size_t
calculate_padding
(
size_t
weight_dim
,
size_t
dilation
)
inline
std
::
size_t
calculate_padding
(
std
::
size_t
weight_dim
,
std
::
size_t
dilation
)
{
{
return
(
dilation
*
(
weight_dim
-
1
))
/
2
;
return
(
dilation
*
(
weight_dim
-
1
))
/
2
;
}
}
...
...
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