/test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | NNTestBase.java | 70 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 …]
|
D | InferenceInOutSequence.java | 44 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()
|
D | TestModelsListLoader.java | 92 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()
|
D | TestModels.java | 37 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()
|
D | EvaluatorInterface.java | 27 List<InferenceInOutSequence> inferenceInOuts, in EvaluateAccuracy()
|
D | BenchmarkResult.java | 329 List<InferenceInOutSequence> inferenceInOuts, in fromInferenceResults() 373 for (InferenceInOutSequence iios : inferenceInOuts) { in fromInferenceResults()
|
D | Processor.java | 194 Pair<List<InferenceInOutSequence>, List<InferenceResult>> results; in runBenchmarkLoop()
|
/test/mlts/benchmark/jni/ |
D | run_tflite.h | 44 using InferenceInOutSequence = std::vector<InferenceInOut>; variable 97 bool benchmark(const std::vector<InferenceInOutSequence>& inOutData, 105 const std::vector<InferenceInOutSequence>& inOutData);
|
D | run_tflite.cpp | 264 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()
|
D | benchmark_jni.cpp | 113 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/ |
D | TopK.java | 23 import com.android.nn.benchmark.core.InferenceInOutSequence; 43 List<InferenceInOutSequence> inferenceInOuts, in EvaluateAccuracy() 56 InferenceInOutSequence sequence = inferenceInOuts.get(result.mInputOutputSequenceIndex); in EvaluateAccuracy()
|
D | BaseSequenceEvaluator.java | 5 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/ |
D | RunModelsInMultipleProcesses.java | 24 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/ |
D | multi_process_test.cpp | 77 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/ |
D | NNAccuracyTest.java | 31 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/ |
D | NNAccuracyTest.java | 31 import com.android.nn.benchmark.core.InferenceInOutSequence; 126 Pair<List<InferenceInOutSequence>, List<InferenceResult>> inferenceResults = in testDriver()
|