summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-06-10 19:51:54 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-06-10 19:51:54 +0000
commit87ba76b87818fb618802b71c225201b82257734e (patch)
tree995d625cf0730f5ad21caef6f2542e5af3e2c92c
parent99974d079e267783cf43d601058969f0884ed294 (diff)
parent490bc42e98797a16cb4709b5e3340a04e58fc264 (diff)
downloadml-87ba76b87818fb618802b71c225201b82257734e.tar.gz
Merge "Relax MSE requirement for DEQUANTIZE." into android10-tests-dev
-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},