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
50b471d5
Commit
50b471d5
authored
Jan 24, 2023
by
Paul
Browse files
Format
parent
ffebc6a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/targets/gpu/compile_gen.cpp
src/targets/gpu/compile_gen.cpp
+1
-1
No files found.
src/targets/gpu/compile_gen.cpp
View file @
50b471d5
...
@@ -223,7 +223,7 @@ struct reduce_op
...
@@ -223,7 +223,7 @@ struct reduce_op
}
}
else
if
(
ins
->
name
()
==
"reduce_mean"
)
else
if
(
ins
->
name
()
==
"reduce_mean"
)
{
{
auto
s
=
ins
->
inputs
().
front
()
->
get_shape
();
auto
s
=
ins
->
inputs
().
front
()
->
get_shape
();
auto
reduce_elements
=
s
.
elements
()
/
ins
->
get_shape
().
elements
();
auto
reduce_elements
=
s
.
elements
()
/
ins
->
get_shape
().
elements
();
auto
reduce_type
=
s
.
type
();
auto
reduce_type
=
s
.
type
();
r
.
reduction
=
"op::sum{}"
;
r
.
reduction
=
"op::sum{}"
;
...
...
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