Fix average_pool unit test failure: precesion issue

Signed-off-by: xiang.zhang <xiang.zhang@verisilicon.com>
This commit is contained in:
xiang.zhang 2021-08-30 16:15:21 +08:00 committed by Sven
parent ff22b3e34c
commit b226777ad3
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ TEST(AVG_ANDROID, shape_60_52_3_5_fp32_kernel_35_stride_5) {
std::vector<float> output(golden.size());
EXPECT_TRUE(output_tensor->CopyDataFromTensor(output.data()));
EXPECT_EQ(golden, output);
ArraysMatch(golden, output, 1e-5f);
}
TEST(AVG_ANDROID, shape_60_52_3_5_uint8_kernel_35_stride_5) {