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
32e08558
Commit
32e08558
authored
Nov 28, 2023
by
Umang Yadav
Browse files
fix conv_bn eps
parent
a8ef9124
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
test/verify/test_conv_bn.cpp
test/verify/test_conv_bn.cpp
+2
-1
No files found.
test/verify/test_conv_bn.cpp
View file @
32e08558
...
...
@@ -59,7 +59,8 @@ struct test_conv_bn : verify_program<test_conv_bn<DType>>
auto
eps
=
mm
->
add_literal
(
migraphx
::
literal
{
DType
,
{
1e-5
f
}});
if
constexpr
((
DType
)
==
migraphx
::
shape
::
fp8e4m3fnuz_type
)
{
eps
=
mm
->
add_literal
(
migraphx
::
literal
{
DType
,
{
1e-1
f
}});
// use 1e-2f for the fp8
eps
=
mm
->
add_literal
(
migraphx
::
literal
{
DType
,
{
1e-2
f
}});
}
auto
usq_scale
=
...
...
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