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()
136 public BenchmarkResult getInstrumentationResult( in getInstrumentationResult()
144 public BenchmarkResult getInstrumentationResult( in getInstrumentationResult()
151 BenchmarkResult result = mRunModelCompilationOnly ? null : getBenchmark( in getInstrumentationResult()
204 private BenchmarkResult runBenchmarkLoop(float maxTime, boolean completeInputSet) in runBenchmarkLoop()
218 return BenchmarkResult.fromInferenceResults( in runBenchmarkLoop()
225 return new BenchmarkResult(e.getMessage()); in runBenchmarkLoop()
232 int maxIterations, BenchmarkResult benchmarkResult) throws IOException { in runCompilationBenchmarkLoop()
242 public BenchmarkResult[] getTestResults() { in getTestResults()
[all …]
DBenchmarkResult.java29 public class BenchmarkResult implements Parcelable { class
67 public BenchmarkResult(LatencyResult inferenceLatency, in BenchmarkResult() method in BenchmarkResult
99 public BenchmarkResult(String benchmarkError) { in BenchmarkResult() method in BenchmarkResult
107 protected BenchmarkResult(Parcel in) { in BenchmarkResult() method in BenchmarkResult
158 public static final Parcelable.Creator<BenchmarkResult> CREATOR =
159 new Parcelable.Creator<BenchmarkResult>() {
161 public BenchmarkResult createFromParcel(Parcel in) {
162 return new BenchmarkResult(in);
166 public BenchmarkResult[] newArray(int size) {
167 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;
156 final BenchmarkResult baseline = modelPerformanceCollector(inferenceModelEntry, in testDegradationForModels()
179 Callable<BenchmarkResult> performanceWithOtherCompilingThreadCollector = in testDegradationForModels()
185 BenchmarkResult benchmarkWithOtherCompilingThread = testExecutor.submit( in testDegradationForModels()
226 private Callable<BenchmarkResult> modelPerformanceCollector( in modelPerformanceCollector()
236 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;
185 BenchmarkResult mResult;
224 public BenchmarkResult getBenchmark() { in getBenchmark()
262 BenchmarkResult bmValue = ta.getBenchmark(); in runTest()
DNNBenchmark.java27 import com.android.nn.benchmark.core.BenchmarkResult;
145 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;
140 BenchmarkResult modelExecutionResult = mProcessor.getInstrumentationResult( in call()
/test/mlts/benchmark/dogfood/src/com/android/nn/dogfood/
DBenchmarkJobService.java30 import com.android.nn.benchmark.core.BenchmarkResult;
56 private BenchmarkResult mTestResults[];
/test/mlts/benchmark/results/
Dgenerate_result.py51 BenchmarkResult = collections.namedtuple( variable
150 return BenchmarkResult(**result)