Searched refs:BenchmarkResult (Results 1 – 7 of 7) sorted by relevance
/test/mlts/benchmark/src/com/android/nn/benchmark/app/ |
D | NNBenchmark.java | 29 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 …]
|
D | BenchmarkTestBase.java | 29 import com.android.nn.benchmark.core.BenchmarkResult; 106 BenchmarkResult mResult; 135 public BenchmarkResult getBenchmark() { in getBenchmark() 168 BenchmarkResult bmValue = ta.getBenchmark(); in runTest()
|
D | NNControls.java | 32 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/ |
D | BenchmarkResult.java | 29 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/ |
D | NNAccuracyTest.java | 28 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/ |
D | CSVWriter.java | 21 import com.android.nn.benchmark.core.BenchmarkResult; 54 public void write(BenchmarkResult benchmarkResult) throws IOException { in write()
|
/test/mlts/benchmark/results/ |
D | generate_result.py | 38 BenchmarkResult = collections.namedtuple( variable 82 results.append(BenchmarkResult(
|