Skip to content

Commit

Permalink
[UTest] Loose abs_error for group_norm and instance_norm (PaddlePaddl…
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyang-star committed Jun 15, 2021
1 parent 5915a61 commit 6f42e6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lite/tests/kernels/group_norm_compute_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ void TestGroupNorm(Place place,

TEST(GroupNorm, precision) {
Place place;
float abs_error = 6e-5;
float abs_error = 7e-5;
std::vector<std::string> ignored_outs = {};
#ifdef LITE_WITH_ARM
place = TARGET(kARM);
Expand Down
2 changes: 1 addition & 1 deletion lite/tests/kernels/instance_norm_compute_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ void TestInstanceNorm(Place place,

TEST(InstanceNorm, precision) {
Place place;
float abs_error = 2e-3;
float abs_error = 3e-3;
std::vector<std::string> ignored_outs = {};
#if defined(LITE_WITH_NPU)
place = TARGET(kNPU);
Expand Down

0 comments on commit 6f42e6a

Please sign in to comment.