Home
last modified time | relevance | path

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

/test/mlts/benchmark/src/com/android/nn/benchmark/evaluators/
DMelCepLogF0.java75 for (int inferenceIndex = 0; inferenceIndex < inferenceCount; ++inferenceIndex) { in calculateMelCepDistortion()
82 outputs[inferenceIndex][i] - expectedOutputs[inferenceIndex][i], 2); in calculateMelCepDistortion()
95 for (int inferenceIndex = 0; inferenceIndex < inferenceCount; ++inferenceIndex) { in calculateLogF0Error()
100 if (outputs[inferenceIndex][voicedIndex] > VOICED_THRESHOLD && in calculateLogF0Error()
101 expectedOutputs[inferenceIndex][voicedIndex] > VOICED_THRESHOLD) { in calculateLogF0Error()
102 squared_error += Math.pow(outputs[inferenceIndex][f0Index] - in calculateLogF0Error()
103 expectedOutputs[inferenceIndex][f0Index], 2); in calculateLogF0Error()
DBaseSequenceEvaluator.java36 int inferenceIndex = 0; in EvaluateAccuracy() local
37 while (inferenceIndex < inferenceResults.size()) { in EvaluateAccuracy()
41 for (int i = 0; i < sequenceLength; ++i, ++inferenceIndex) { in EvaluateAccuracy()
42 InferenceResult result = inferenceResults.get(inferenceIndex); in EvaluateAccuracy()