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
bf0a7d92
Commit
bf0a7d92
authored
Jan 27, 2023
by
Paul
Browse files
Fix test
parent
aee88798
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/verify/test_groupnorm.cpp
test/verify/test_groupnorm.cpp
+1
-1
No files found.
test/verify/test_groupnorm.cpp
View file @
bf0a7d92
...
...
@@ -33,7 +33,7 @@ migraphx::instruction_ref
add_groupnorm
(
migraphx
::
module
&
m
,
migraphx
::
instruction_ref
x
,
float
eps
=
1e-12
f
)
{
auto
lens
=
x
->
get_shape
().
lens
();
auto
reduce_op
=
migraphx
::
make_op
(
"reduce_mean"
,
{{
"axes"
,
-
1
}});
auto
reduce_op
=
migraphx
::
make_op
(
"reduce_mean"
,
{{
"axes"
,
{
-
1
}}
}
);
auto
reduce1
=
m
.
add_instruction
(
reduce_op
,
x
);
auto
sqdiff
=
migraphx
::
add_common_op
(
m
,
migraphx
::
make_op
(
"sqdiff"
),
{
x
,
reduce1
});
auto
reduce2
=
m
.
add_instruction
(
reduce_op
,
sqdiff
);
...
...
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