Home
last modified time | relevance | path

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

/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DNNTestBase.java70 List<InferenceInOutSequence> inOutList, in runBenchmark()
82 List<InferenceInOutSequence> inOutList); in dumpAllLayers()
114 private final InferenceInOutSequence.FromAssets[] mInputOutputAssets;
115 private final InferenceInOutSequence.FromDataset[] mInputOutputDatasets;
128 InferenceInOutSequence.FromAssets[] inputOutputAssets, in NNTestBase()
129 InferenceInOutSequence.FromDataset[] inputOutputDatasets, in NNTestBase()
223 private List<InferenceInOutSequence> getInputOutputAssets() throws IOException { in getInputOutputAssets()
225 List<InferenceInOutSequence> inOutList = in getInputOutputAssets()
229 for (InferenceInOutSequence sequence : inOutList) { in getInputOutputAssets()
243 public static List<InferenceInOutSequence> getInputOutputAssets(Context context, 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.java92 InferenceInOutSequence.FromAssets[] inputOutputs = null; in parseJSONModelsList()
96 new InferenceInOutSequence.FromAssets[jsonInputOutputs.length()]; in parseJSONModelsList()
115 inputOutputs[j] = new InferenceInOutSequence.FromAssets(input, outputs, in parseJSONModelsList()
120 InferenceInOutSequence.FromDataset[] datasets = null; in parseJSONModelsList()
144 datasets = new InferenceInOutSequence.FromDataset[]{ in parseJSONModelsList()
145 new InferenceInOutSequence.FromDataset(inputPath, labels, groundTruth, in parseJSONModelsList()
DTestModels.java37 public final InferenceInOutSequence.FromAssets[] mInOutAssets;
40 public final InferenceInOutSequence.FromDataset[] mInOutDatasets;
58 InferenceInOutSequence.FromAssets[] inOutAssets, in TestModelEntry()
59 InferenceInOutSequence.FromDataset[] inOutDatasets, String testName, in TestModelEntry()
DEvaluatorInterface.java27 List<InferenceInOutSequence> inferenceInOuts, in EvaluateAccuracy()
DBenchmarkResult.java329 List<InferenceInOutSequence> inferenceInOuts, in fromInferenceResults()
373 for (InferenceInOutSequence iios : inferenceInOuts) { in fromInferenceResults()
DProcessor.java194 Pair<List<InferenceInOutSequence>, List<InferenceResult>> results; in runBenchmarkLoop()
/test/mlts/benchmark/jni/
Drun_tflite.h44 using InferenceInOutSequence = std::vector<InferenceInOut>; variable
97 bool benchmark(const std::vector<InferenceInOutSequence>& inOutData,
105 const std::vector<InferenceInOutSequence>& inOutData);
Drun_tflite.cpp264 const std::vector<InferenceInOutSequence>& inOutData, in benchmark()
279 const InferenceInOutSequence& seq = inOutData[inputOutputSequenceIndex]; in benchmark()
580 const char* path, const std::vector<InferenceInOutSequence>& inOutData) { in dumpAllLayers()
589 const InferenceInOutSequence& seq = inOutData[seqInferenceIndex]; in dumpAllLayers()
Dbenchmark_jni.cpp113 const std::vector<InferenceInOutSequence>& data() const { return mData; } in data()
118 std::vector<InferenceInOutSequence> mData;
175 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/mlts/benchmark/src/com/android/nn/crashtest/core/test/
DRunModelsInMultipleProcesses.java24 import com.android.nn.benchmark.core.InferenceInOutSequence;
134 List<InferenceInOutSequence> inputOutputAssets = NNTestBase.getInputOutputAssets( in call()
170 List<InferenceInOutSequence> inputOutputAssets, int[] inputShape, int dataByteSize) in writeModelInput()
181 for (InferenceInOutSequence inferenceInOutSequence : inputOutputAssets) { in writeModelInput()
/test/mlts/benchmark/native/
Dmulti_process_test.cpp77 std::vector<InferenceInOutSequence>* result) { in readInputData()
108 const std::vector<InferenceInOutSequence>& data, in runModel()
211 std::vector<InferenceInOutSequence> inputData; in main()
/test/vts-testcase/hal/neuralnetworks/V1_2/benchmark/java/src/com/android/nn/benchmark/vts/v1_2/
DNNAccuracyTest.java31 import com.android.nn.benchmark.core.InferenceInOutSequence;
126 Pair<List<InferenceInOutSequence>, List<InferenceResult>> inferenceResults = in testDriver()
/test/vts-testcase/hal/neuralnetworks/V1_3/benchmark/java/src/com/android/nn/benchmark/vts/v1_3/
DNNAccuracyTest.java31 import com.android.nn.benchmark.core.InferenceInOutSequence;
126 Pair<List<InferenceInOutSequence>, List<InferenceResult>> inferenceResults = in testDriver()