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
4bd1ee7a
Commit
4bd1ee7a
authored
Jun 24, 2021
by
Shucai Xiao
Browse files
clang format
parent
1adf6096
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/include/migraphx/op/scatter.hpp
src/include/migraphx/op/scatter.hpp
+2
-2
No files found.
src/include/migraphx/op/scatter.hpp
100755 → 100644
View file @
4bd1ee7a
...
...
@@ -50,8 +50,8 @@ struct scatter
args
[
1
].
visit
([
&
](
auto
indices
)
{
auto
ind_s
=
indices
.
get_shape
();
shape_for_each
(
ind_s
,
[
&
](
const
auto
&
idx
)
{
auto
out_idx
=
idx
;
out_idx
[
axis
]
=
indices
[
ind_s
.
index
(
idx
)];
auto
out_idx
=
idx
;
out_idx
[
axis
]
=
indices
[
ind_s
.
index
(
idx
)];
output
[
output_shape
.
index
(
out_idx
)]
=
update
[
ind_s
.
index
(
idx
)];
});
});
...
...
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