Home
last modified time | relevance | path

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

/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNBenchmark.java29 import com.android.nn.benchmark.core.BenchmarkResult;
52 private BenchmarkResult mTestResults[];
72 mTestResults = new BenchmarkResult[1]; in prepareInstrumentationTest()
86 BenchmarkResult getInstrumentationResult( in getInstrumentationResult()
95 private BenchmarkResult runBenchmarkLoop(float minTime, boolean completeInputSet) in runBenchmarkLoop()
109 return BenchmarkResult.fromInferenceResults( in runBenchmarkLoop()
111 mUseNNApi ? BenchmarkResult.BACKEND_TFLITE_NNAPI in runBenchmarkLoop()
112 : BenchmarkResult.BACKEND_TFLITE_CPU, in runBenchmarkLoop()
115 return new BenchmarkResult(e.getMessage()); in runBenchmarkLoop()
121 private BenchmarkResult getBenchmark(float warmupTimeSeconds, float runTimeSeconds) in getBenchmark()
[all …]
DBenchmarkTestBase.java29 import com.android.nn.benchmark.core.BenchmarkResult;
106 BenchmarkResult mResult;
135 public BenchmarkResult getBenchmark() { in getBenchmark()
168 BenchmarkResult bmValue = ta.getBenchmark(); in runTest()
DNNControls.java32 import com.android.nn.benchmark.core.BenchmarkResult;
153 String getResultShortSummary(BenchmarkResult br, TestModels.TestModelEntry t) { in getResultShortSummary()
170 BenchmarkResult br = (BenchmarkResult) r[ct]; in onActivityResult()
176 mResults[id[ct]] = ((BenchmarkResult) r[ct]).getMeanTimeSec(); in onActivityResult()
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DBenchmarkResult.java29 public class BenchmarkResult implements Parcelable { class
70 public BenchmarkResult(float totalTimeSec, int iterations, float timeVarianceSec, in BenchmarkResult() method in BenchmarkResult
108 public BenchmarkResult(String benchmarkError) { in BenchmarkResult() method in BenchmarkResult
116 protected BenchmarkResult(Parcel in) { in BenchmarkResult() method in BenchmarkResult
172 public static final Parcelable.Creator<BenchmarkResult> CREATOR =
173 new Parcelable.Creator<BenchmarkResult>() {
175 public BenchmarkResult createFromParcel(Parcel in) {
176 return new BenchmarkResult(in);
180 public BenchmarkResult[] newArray(int size) {
181 return new BenchmarkResult[size];
[all …]
/test/vts-testcase/hal/neuralnetworks/V1_2/benchmark/java/src/com/android/nn/benchmark/vts/v1_2/
DNNAccuracyTest.java28 import com.android.nn.benchmark.core.BenchmarkResult;
112 BenchmarkResult benchmarkResult = BenchmarkResult.fromInferenceResults(mModel.mModelName, in testDriver()
113 BenchmarkResult.BACKEND_TFLITE_NNAPI, inferenceResults.first, in testDriver()
/test/mlts/benchmark/src/com/android/nn/benchmark/util/
DCSVWriter.java21 import com.android.nn.benchmark.core.BenchmarkResult;
54 public void write(BenchmarkResult benchmarkResult) throws IOException { in write()
/test/mlts/benchmark/results/
Dgenerate_result.py38 BenchmarkResult = collections.namedtuple( variable
82 results.append(BenchmarkResult(