Searched refs:sequenceLength (Results 1 – 2 of 2) sorted by relevance
50 public InferenceInOutSequence(int sequenceLength, boolean hasGoldenOutput, int datasize) { in InferenceInOutSequence() argument51 mInputOutputs = new ArrayList<>(sequenceLength); in InferenceInOutSequence()86 int sequenceLength = inputs.length / mInputSizeBytes; in readAssets() local90 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()
38 int sequenceLength = inferenceInOuts.get(sequenceIndex % inferenceInOuts.size()).size(); in EvaluateAccuracy() local39 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()