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
0a86e369
"src/include/blockwise_4d_tensor_op.hip.hpp" did not exist on "ac1f62be3fbdad4f37d98ad0928914fe591a6364"
Commit
0a86e369
authored
May 30, 2019
by
Khalique
Browse files
change to inline function
parent
533796d6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/include/migraphx/op/pad_calc.hpp
src/include/migraphx/op/pad_calc.hpp
+1
-1
No files found.
src/include/migraphx/op/pad_calc.hpp
View file @
0a86e369
...
@@ -7,7 +7,7 @@ namespace migraphx {
...
@@ -7,7 +7,7 @@ namespace migraphx {
inline
namespace
MIGRAPHX_INLINE_NS
{
inline
namespace
MIGRAPHX_INLINE_NS
{
namespace
op
{
namespace
op
{
size_t
calculate_padding
(
size_t
weight_dim
,
size_t
dilation
)
inline
size_t
calculate_padding
(
size_t
weight_dim
,
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