summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXusong Wang <xusongw@google.com>2020-05-21 14:52:16 -0700
committerXusong Wang <xusongw@google.com>2020-05-21 14:52:16 -0700
commit490bc42e98797a16cb4709b5e3340a04e58fc264 (patch)
tree995d625cf0730f5ad21caef6f2542e5af3e2c92c
parent99974d079e267783cf43d601058969f0884ed294 (diff)
downloadml-490bc42e98797a16cb4709b5e3340a04e58fc264.tar.gz
Relax MSE requirement for DEQUANTIZE.
Bug: 155842363 Test: CTS Change-Id: I1bba976a778ad439c137e02193fbc27ea598ffc0
-rw-r--r--nn/runtime/test/fuzzing/TestRandomGraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nn/runtime/test/fuzzing/TestRandomGraph.cpp b/nn/runtime/test/fuzzing/TestRandomGraph.cpp
index 532f7bf40..e668bf9a8 100644
--- a/nn/runtime/test/fuzzing/TestRandomGraph.cpp
+++ b/nn/runtime/test/fuzzing/TestRandomGraph.cpp
@@ -415,7 +415,7 @@ const AccuracyCriteria kStrictCriteria = {
// broadcast or elementwise, e.g ADD, FLOOR.
const AccuracyCriteria kMediumCriteria = {
.float32 = {.atol = 1e-5f, .rtol = 1e-5f, .bias = 1e-6f, .mse = 1e-8f},
- .float16 = {.atol = 1e-2f, .rtol = 1e-2f, .bias = 1e-3f, .mse = 1e-6f},
+ .float16 = {.atol = 1e-2f, .rtol = 1e-2f, .bias = 1e-3f, .mse = 1e-5f},
.int32 = {.atol = 1},
.quant8Asymm = {.atol = 2, .bias = 1.2, .mse = 1.2},
.quant8Symm = {.atol = 2, .bias = 1.2, .mse = 1.2},