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
d0c3a01d
Commit
d0c3a01d
authored
Sep 25, 2018
by
wsttiger
Browse files
Clang tidy
parent
684a64bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/include/migraph/operators.hpp
src/include/migraph/operators.hpp
+3
-3
No files found.
src/include/migraph/operators.hpp
View file @
d0c3a01d
...
@@ -375,10 +375,10 @@ struct squeeze
...
@@ -375,10 +375,10 @@ struct squeeze
std
::
vector
<
std
::
size_t
>
new_lens
;
std
::
vector
<
std
::
size_t
>
new_lens
;
if
(
axes
.
empty
())
if
(
axes
.
empty
())
{
{
for
(
std
::
size_t
i
=
0
;
i
<
old_lens
.
size
();
i
++
)
for
(
unsigned
long
len
:
old_lens
)
{
{
if
(
old_lens
[
i
]
!=
1
)
if
(
len
!=
1
)
new_lens
.
push_back
(
old_lens
[
i
]
);
new_lens
.
push_back
(
len
);
}
}
}
}
else
else
...
...
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