Home
last modified time | relevance | path

Searched refs:BenchmarkResult (Results 1 – 12 of 12) sorted by relevance

/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DProcessor.java52 private BenchmarkResult mTestResults[];
78 mTestResults = new BenchmarkResult[mTestList.length]; in Processor()
133 public BenchmarkResult getInstrumentationResult( in getInstrumentationResult()
138BenchmarkResult result = mRunModelCompilationOnly ? null : getBenchmark(warmupTimeSeconds, in getInstrumentationResult()
190 private BenchmarkResult runBenchmarkLoop(float minTime, boolean completeInputSet) in runBenchmarkLoop()
204 return BenchmarkResult.fromInferenceResults( in runBenchmarkLoop()
207 ? BenchmarkResult.BACKEND_TFLITE_NNAPI in runBenchmarkLoop()
208 : BenchmarkResult.BACKEND_TFLITE_CPU, in runBenchmarkLoop()
213 return new BenchmarkResult(e.getMessage()); in runBenchmarkLoop()
220 int maxIterations, BenchmarkResult benchmarkResult) throws IOException { in runCompilationBenchmarkLoop()
[all …]
DBenchmarkResult.java29 public class BenchmarkResult implements Parcelable { class
66 public BenchmarkResult(LatencyResult inferenceLatency, in BenchmarkResult() method in BenchmarkResult
98 public BenchmarkResult(String benchmarkError) { in BenchmarkResult() method in BenchmarkResult
106 protected BenchmarkResult(Parcel in) { in BenchmarkResult() method in BenchmarkResult
157 public static final Parcelable.Creator<BenchmarkResult> CREATOR =
158 new Parcelable.Creator<BenchmarkResult>() {
160 public BenchmarkResult createFromParcel(Parcel in) {
161 return new BenchmarkResult(in);
165 public BenchmarkResult[] newArray(int size) {
166 return new BenchmarkResult[size];
[all …]
/test/vts-testcase/hal/neuralnetworks/V1_2/benchmark/java/src/com/android/nn/benchmark/vts/v1_2/
DNNAccuracyTest.java30 import com.android.nn.benchmark.core.BenchmarkResult;
128 BenchmarkResult benchmarkResult = BenchmarkResult.fromInferenceResults( in testDriver()
129 mModel.mEntry.mModelName, BenchmarkResult.BACKEND_TFLITE_NNAPI, in testDriver()
/test/vts-testcase/hal/neuralnetworks/V1_3/benchmark/java/src/com/android/nn/benchmark/vts/v1_3/
DNNAccuracyTest.java30 import com.android.nn.benchmark.core.BenchmarkResult;
128 BenchmarkResult benchmarkResult = BenchmarkResult.fromInferenceResults( in testDriver()
129 mModel.mEntry.mModelName, BenchmarkResult.BACKEND_TFLITE_NNAPI, in testDriver()
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/
DPerformanceDegradationTest.java25 import com.android.nn.benchmark.core.BenchmarkResult;
155 final BenchmarkResult baseline = modelPerformanceCollector(inferenceModelEntry, in testDegradationForModels()
178 Callable<BenchmarkResult> performanceWithOtherCompilingThreadCollector = in testDegradationForModels()
184 BenchmarkResult benchmarkWithOtherCompilingThread = testExecutor.submit( in testDegradationForModels()
225 private Callable<BenchmarkResult> modelPerformanceCollector( in modelPerformanceCollector()
235 final BenchmarkResult result = in modelPerformanceCollector()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNControls.java33 import com.android.nn.benchmark.core.BenchmarkResult;
140 String getResultShortSummary(BenchmarkResult br, TestModels.TestModelEntry t) { in getResultShortSummary()
157 BenchmarkResult br = (BenchmarkResult) r[ct]; in onActivityResult()
163 mResults[id[ct]] = ((BenchmarkResult) r[ct]).getMeanTimeSec(); in onActivityResult()
DBenchmarkTestBase.java32 import com.android.nn.benchmark.core.BenchmarkResult;
180 BenchmarkResult mResult;
212 public BenchmarkResult getBenchmark() { in getBenchmark()
248 BenchmarkResult bmValue = ta.getBenchmark(); in runTest()
DNNBenchmark.java27 import com.android.nn.benchmark.core.BenchmarkResult;
140 public BenchmarkResult runSynchronously(TestModelEntry testModel, in runSynchronously()
/test/mlts/benchmark/src/com/android/nn/benchmark/util/
DCSVWriter.java21 import com.android.nn.benchmark.core.BenchmarkResult;
69 public void write(BenchmarkResult benchmarkResult) throws IOException { in write()
/test/mlts/benchmark/src/com/android/nn/crashtest/app/
DAcceleratorSpecificTestSupport.java25 import com.android.nn.benchmark.core.BenchmarkResult;
139 BenchmarkResult modelExecutionResult = mProcessor.getInstrumentationResult( in call()
/test/mlts/benchmark/dogfood/src/com/android/nn/dogfood/
DBenchmarkJobService.java30 import com.android.nn.benchmark.core.BenchmarkResult;
55 private BenchmarkResult mTestResults[];
/test/mlts/benchmark/results/
Dgenerate_result.py51 BenchmarkResult = collections.namedtuple( variable
150 return BenchmarkResult(**result)