Home
last modified time | relevance | path

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

/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DInferenceInOutSequence.java50 public InferenceInOutSequence(int sequenceLength, boolean hasGoldenOutput, int datasize) { in InferenceInOutSequence() argument
51 mInputOutputs = new ArrayList<>(sequenceLength); in InferenceInOutSequence()
86 int sequenceLength = inputs.length / mInputSizeBytes; in readAssets() local
90 if (outputs[i].length % sequenceLength != 0) { in readAssets()
94 sequenceLength); in readAssets()
102 sequenceLength, true, mDataBytesSize); in readAssets()
104 for (int i = 0; i < sequenceLength; ++i) { in readAssets()
107 int outputSizeBytes = outputs[j].length / sequenceLength; in readAssets()
/test/mlts/benchmark/src/com/android/nn/benchmark/evaluators/
DBaseSequenceEvaluator.java38 int sequenceLength = inferenceInOuts.get(sequenceIndex % inferenceInOuts.size()).size(); in EvaluateAccuracy() local
39 float[][] outputs = new float[sequenceLength][outputSize]; in EvaluateAccuracy()
40 float[][] expectedOutputs = new float[sequenceLength][outputSize]; in EvaluateAccuracy()
41 for (int i = 0; i < sequenceLength; ++i, ++inferenceIndex) { in EvaluateAccuracy()