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
ea656c84
".github/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "c72949986d811fa08d471f604d95bc535b9c3f61"
Commit
ea656c84
authored
Mar 04, 2022
by
Shucai Xiao
Browse files
clang format
parent
efac0323
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/targets/gpu/device/layernorm.cpp
src/targets/gpu/device/layernorm.cpp
+2
-2
No files found.
src/targets/gpu/device/layernorm.cpp
View file @
ea656c84
...
...
@@ -184,8 +184,8 @@ auto layernorm_fusion(hipStream_t stream,
const
Arguments
&
...
args
)
{
return
[
=
](
auto
input
,
auto
output
)
{
auto
relements
=
arg1
.
get_shape
().
lens
().
back
();
auto
nelements
=
result
.
get_shape
().
elements
()
/
relements
;
auto
relements
=
arg1
.
get_shape
().
lens
().
back
();
auto
nelements
=
result
.
get_shape
().
elements
()
/
relements
;
// auto output_shape = result.get_shape();
// auto reduce_output_lens(output_shape.lens());
// reduce_output_lens.back() = 1;
...
...
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