Home
last modified time | relevance | path

Searched refs:InferenceInOutSequence (Results 1 – 13 of 13) sorted by relevance

/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DNNTestBase.java65 List<InferenceInOutSequence> inOutList, in runBenchmark()
74 List<InferenceInOutSequence> inOutList); in dumpAllLayers()
82 private InferenceInOutSequence.FromAssets[] mInputOutputAssets;
83 private InferenceInOutSequence.FromDataset[] mInputOutputDatasets;
93 InferenceInOutSequence.FromAssets[] inputOutputAssets, in NNTestBase()
94 InferenceInOutSequence.FromDataset[] inputOutputDatasets, in NNTestBase()
172 private List<InferenceInOutSequence> getInputOutputAssets() throws IOException { in getInputOutputAssets()
174 List<InferenceInOutSequence> inOutList = new ArrayList<>(); in getInputOutputAssets()
176 for (InferenceInOutSequence.FromAssets ioAsset : mInputOutputAssets) { in getInputOutputAssets()
181 for (InferenceInOutSequence.FromDataset dataset : mInputOutputDatasets) { in getInputOutputAssets()
[all …]
DInferenceInOutSequence.java44 public class InferenceInOutSequence { class
50 public InferenceInOutSequence(int sequenceLength, boolean hasGoldenOutput, int datasize) { in InferenceInOutSequence() method in InferenceInOutSequence
83 public InferenceInOutSequence readAssets(AssetManager assetManager) throws IOException { in readAssets()
101 InferenceInOutSequence sequence = new InferenceInOutSequence( in readAssets()
178 public ArrayList<InferenceInOutSequence> readDataset( in readDataset()
227 ArrayList<InferenceInOutSequence> ret = new ArrayList<InferenceInOutSequence>(); in readDataset()
249 InferenceInOutSequence sequence = new InferenceInOutSequence( in readDataset()
DTestModelsListLoader.java90 InferenceInOutSequence.FromAssets[] inputOutputs = null; in parseJSONModelsList()
94 new InferenceInOutSequence.FromAssets[jsonInputOutputs.length()]; in parseJSONModelsList()
113 inputOutputs[j] = new InferenceInOutSequence.FromAssets(input, outputs, in parseJSONModelsList()
118 InferenceInOutSequence.FromDataset[] datasets = null; in parseJSONModelsList()
142 datasets = new InferenceInOutSequence.FromDataset[]{ in parseJSONModelsList()
143 new InferenceInOutSequence.FromDataset(inputPath, labels, groundTruth, in parseJSONModelsList()
DTestModels.java37 public final InferenceInOutSequence.FromAssets[] mInOutAssets;
40 public final InferenceInOutSequence.FromDataset[] mInOutDatasets;
55 InferenceInOutSequence.FromAssets[] inOutAssets, in TestModelEntry()
56 InferenceInOutSequence.FromDataset[] inOutDatasets, in TestModelEntry()
DEvaluatorInterface.java27 List<InferenceInOutSequence> inferenceInOuts, in EvaluateAccuracy()
DBenchmarkResult.java318 List<InferenceInOutSequence> inferenceInOuts, in fromInferenceResults()
389 for (InferenceInOutSequence iios : inferenceInOuts) { in fromInferenceResults()
/test/mlts/benchmark/jni/
Drun_tflite.h44 using InferenceInOutSequence = std::vector<InferenceInOut>; variable
78 bool benchmark(const std::vector<InferenceInOutSequence>& inOutData,
83 const std::vector<InferenceInOutSequence>& inOutData);
Drun_tflite.cpp235 const std::vector<InferenceInOutSequence>& inOutData, in benchmark()
248 const InferenceInOutSequence& seq = inOutData[inputOutputSequenceIndex]; in benchmark()
318 const char* path, const std::vector<InferenceInOutSequence>& inOutData) { in dumpAllLayers()
327 const InferenceInOutSequence& seq = inOutData[seqInferenceIndex]; in dumpAllLayers()
Dbenchmark_jni.cpp94 const std::vector<InferenceInOutSequence>& data() const { return mData; } in data()
99 std::vector<InferenceInOutSequence> mData;
156 mData.push_back(InferenceInOutSequence{}); in InferenceInOutSequenceList()
/test/mlts/benchmark/src/com/android/nn/benchmark/evaluators/
DTopK.java23 import com.android.nn.benchmark.core.InferenceInOutSequence;
43 List<InferenceInOutSequence> inferenceInOuts, in EvaluateAccuracy()
56 InferenceInOutSequence sequence = inferenceInOuts.get(result.mInputOutputSequenceIndex); in EvaluateAccuracy()
DBaseSequenceEvaluator.java5 import com.android.nn.benchmark.core.InferenceInOutSequence;
25 List<InferenceInOutSequence> inferenceInOuts, List<InferenceResult> inferenceResults, in EvaluateAccuracy()
/test/vts-testcase/hal/neuralnetworks/V1_2/benchmark/java/src/com/android/nn/benchmark/vts/v1_2/
DNNAccuracyTest.java29 import com.android.nn.benchmark.core.InferenceInOutSequence;
110 Pair<List<InferenceInOutSequence>, List<InferenceResult>> inferenceResults = in testDriver()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNBenchmark.java30 import com.android.nn.benchmark.core.InferenceInOutSequence;
99 Pair<List<InferenceInOutSequence>, List<InferenceResult>> results; in runBenchmarkLoop()