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
1959394f
Commit
1959394f
authored
Jan 30, 2019
by
Khalique
Browse files
formatting
parent
6d2e8e92
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
19 deletions
+18
-19
src/include/migraphx/operators.hpp
src/include/migraphx/operators.hpp
+18
-19
No files found.
src/include/migraphx/operators.hpp
View file @
1959394f
...
@@ -215,10 +215,10 @@ struct pooling
...
@@ -215,10 +215,10 @@ struct pooling
assert
(
lengths
[
0
]
<=
(
input
.
lens
()[
2
]
+
2
*
padding
[
0
]));
assert
(
lengths
[
0
]
<=
(
input
.
lens
()[
2
]
+
2
*
padding
[
0
]));
assert
(
lengths
[
1
]
<=
(
input
.
lens
()[
3
]
+
2
*
padding
[
1
]));
assert
(
lengths
[
1
]
<=
(
input
.
lens
()[
3
]
+
2
*
padding
[
1
]));
if
(
padding_mode
==
default_
)
if
(
padding_mode
==
default_
)
{
{
return
{
t
,
return
{
t
,
{
{
input
.
lens
()[
0
],
input
.
lens
()[
0
],
input
.
lens
()[
1
],
input
.
lens
()[
1
],
...
@@ -266,7 +266,6 @@ struct pooling
...
@@ -266,7 +266,6 @@ struct pooling
{
{
MIGRAPHX_THROW
(
"Invalid padding mode"
);
MIGRAPHX_THROW
(
"Invalid padding mode"
);
}
}
}
}
};
};
...
...
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