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
composable_kernel
Commits
3ca7feeb
Commit
3ca7feeb
authored
Oct 31, 2022
by
Qianfeng Zhang
Browse files
Change in the example to loose the threshold for ScaleDiff checking
parent
3f392b53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
example/34_batchnorm/batchnorm_backward_nhwc.cpp
example/34_batchnorm/batchnorm_backward_nhwc.cpp
+1
-1
No files found.
example/34_batchnorm/batchnorm_backward_nhwc.cpp
View file @
3ca7feeb
...
@@ -393,7 +393,7 @@ bool bnorm_bwd_nhwc_test(bool do_verification,
...
@@ -393,7 +393,7 @@ bool bnorm_bwd_nhwc_test(bool do_verification,
bnBiasDiff
.
mData
,
bnBiasDiff_ref
.
mData
,
"BiasDiff result:"
,
1e-5
,
1e-5
);
bnBiasDiff
.
mData
,
bnBiasDiff_ref
.
mData
,
"BiasDiff result:"
,
1e-5
,
1e-5
);
pass
=
pass
=
pass
&&
ck
::
utils
::
check_err
(
pass
&&
ck
::
utils
::
check_err
(
bnScaleDiff
.
mData
,
bnScaleDiff_ref
.
mData
,
"ScaleDiff result:"
,
1e-5
,
5
e-
5
);
bnScaleDiff
.
mData
,
bnScaleDiff_ref
.
mData
,
"ScaleDiff result:"
,
1e-5
,
2
e-
4
);
pass
=
pass
&&
ck
::
utils
::
check_err
(
dx
.
mData
,
dx_ref
.
mData
,
"dx result:"
);
pass
=
pass
&&
ck
::
utils
::
check_err
(
dx
.
mData
,
dx_ref
.
mData
,
"dx result:"
);
};
};
...
...
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