Home
last modified time | relevance | path

Searched refs:expectedTop1 (Results 1 – 2 of 2) sorted by relevance

/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DEvaluatorConfig.java35 private Double expectedTop1; field in EvaluatorConfig
37 public EvaluatorConfig(String className, String outputMeanStdDev, Double expectedTop1) { in EvaluatorConfig() argument
40 this.expectedTop1 = expectedTop1; in EvaluatorConfig()
55 if (clazz == TopK.class && expectedTop1 != null) { in createEvaluator()
56 ((TopK)evaluator).expectedTop1 = expectedTop1.floatValue(); in createEvaluator()
/test/mlts/benchmark/src/com/android/nn/benchmark/evaluators/
DTopK.java39 public float expectedTop1 = 0.0f; field in TopK
99 if (expectedTop1 > 0.0) { in EvaluateAccuracy()
101 float lowestTop1 = expectedTop1 - VALIDATION_TOP1_THRESHOLD; in EvaluateAccuracy()
105 String.format("%.2f%%", expectedTop1 * 100.0)); in EvaluateAccuracy()