/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | AcceleratorSpecificTestSupport.java | 29 import com.android.nn.benchmark.core.TestModels; 44 static Optional<TestModels.TestModelEntry> findTestModelRunningOnAccelerator( in findTestModelRunningOnAccelerator() 46 for (TestModels.TestModelEntry model : TestModels.modelsList()) { in findTestModelRunningOnAccelerator() 54 static List<TestModels.TestModelEntry> findAllTestModelsRunningOnAccelerator( in findAllTestModelsRunningOnAccelerator() 56 List<TestModels.TestModelEntry> result = new ArrayList<>(); in findAllTestModelsRunningOnAccelerator() 57 for (TestModels.TestModelEntry model : TestModels.modelsList()) { in findAllTestModelsRunningOnAccelerator() 112 private final TestModels.TestModelEntry mTestModelEntry; 115 TestModels.TestModelEntry testModelEntry) { in DriverLivenessChecker()
|
D | NNMultipleProcessTest.java | 30 import com.android.nn.benchmark.core.TestModels; 54 protected Optional<TestModels.TestModelEntry> mModelForLivenessTest; 82 protected Optional<TestModels.TestModelEntry> findModelForLivenessTest() in findModelForLivenessTest() 95 Optional<TestModels.TestModelEntry> modelForLivenessTest = findModelForLivenessTest(); in testDriverDoesNotFailWithParallelWorkload()
|
D | NNMemoryMappedModelCompilationTest.java | 28 import com.android.nn.benchmark.core.TestModels; 100 Optional<TestModels.TestModelEntry> modelForLivenessTest = in testDriverDoesNotFailWithParallelThreads() 120 int modelsCount = TestModels.modelsList().size(); in compileSupportedModelsMemoryMappedOnNThreadsFor()
|
D | NNClientEarlyTerminationTest.java | 28 import com.android.nn.benchmark.core.TestModels; 96 Optional<TestModels.TestModelEntry> modelForLivenessTest = in testDriverDoesNotFailWithParallelThreads() 134 TestModels.modelsList().size()).toArray()); in compileSupportedModelsOnNThreadsFor()
|
D | NNPerformanceDegradationTestActivity.java | 21 import com.android.nn.benchmark.core.TestModels; 52 return oneModelTestDuration * TestModels.modelsList().size(); in getTestDurationMillis()
|
D | NNParallelInferenceTest.java | 31 import com.android.nn.benchmark.core.TestModels; 119 int modelsCount = TestModels.modelsList().size(); in runAllModelsOnNThreadsForOnAccelerator()
|
D | NNRandomGraphTest.java | 30 import com.android.nn.benchmark.core.TestModels; 100 protected Optional<TestModels.TestModelEntry> findModelForLivenessTest() in findModelForLivenessTest()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/app/ |
D | NNControls.java | 34 import com.android.nn.benchmark.core.TestModels; 72 for (TestModels.TestModelEntry testModel : TestModels.modelsList()) { in init() 117 int modelsCount = TestModels.modelsList().size(); in btnRun() 140 String getResultShortSummary(BenchmarkResult br, TestModels.TestModelEntry t) { in getResultShortSummary() 147 int size = TestModels.modelsList().size(); in onActivityResult() 156 TestModels.TestModelEntry t = TestModels.modelsList().get(id[ct]); in onActivityResult() 172 for (int i = 0; i < TestModels.modelsList().size(); i++) { in btnSelAll() 178 for (int i = 0; i < TestModels.modelsList().size(); i++) { in btnSelNone()
|
D | NNInferenceStressTest.java | 21 import com.android.nn.benchmark.core.TestModels; 46 public NNInferenceStressTest(TestModels.TestModelEntry model) { in NNInferenceStressTest() 51 public static List<TestModels.TestModelEntry> modelsList() { in modelsList() 52 return TestModels.modelsList().stream() in modelsList() 53 .map(TestModels.TestModelEntry::withDisabledEvaluation) in modelsList()
|
D | NNModelLoadingStressTest.java | 21 import com.android.nn.benchmark.core.TestModels; 45 public NNModelLoadingStressTest(TestModels.TestModelEntry model) { in NNModelLoadingStressTest() 50 public static List<TestModels.TestModelEntry> modelsList() { in modelsList() 51 return TestModels.modelsList().stream() in modelsList() 52 .map(TestModels.TestModelEntry::withDisabledEvaluation) in modelsList()
|
D | NNTest.java | 22 import com.android.nn.benchmark.core.TestModels; 41 public NNTest(TestModels.TestModelEntry model) { in NNTest()
|
D | NNCrystalBallTest.java | 21 import com.android.nn.benchmark.core.TestModels; 44 public NNCrystalBallTest(TestModels.TestModelEntry model) { in NNCrystalBallTest()
|
D | NNScoringTest.java | 22 import com.android.nn.benchmark.core.TestModels; 55 public NNScoringTest(TestModels.TestModelEntry model) { in NNScoringTest()
|
D | BenchmarkTestBase.java | 33 import com.android.nn.benchmark.core.TestModels; 34 import com.android.nn.benchmark.core.TestModels.TestModelEntry; 270 return TestModels.modelsList(); in modelsList()
|
D | TFLiteTest.java | 22 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | PerformanceDegradationTest.java | 27 import com.android.nn.benchmark.core.TestModels; 120 List<TestModels.TestModelEntry> modelsForAccelerator = in call() 131 TestModels.TestModelEntry modelForInference = modelsForAccelerator.get(0); in call() 134 for (TestModels.TestModelEntry modelForCompilation : modelsForAccelerator) { in call() 147 TestModels.TestModelEntry inferenceModelEntry, in testDegradationForModels() 148 TestModels.TestModelEntry compilationModelEntry) throws Exception { in testDegradationForModels() 227 final TestModels.TestModelEntry inferenceModelEntry, final CountDownLatch start) { in modelPerformanceCollector() 248 private final TestModels.TestModelEntry mTestModelEntry; 252 final String acceleratorName, TestModels.TestModelEntry testModelEntry) {
|
D | RunModelsInMultipleProcesses.java | 26 import com.android.nn.benchmark.core.TestModels; 60 private TestModels.TestModelEntry mTestModelEntry; 100 mTestModelEntry = TestModels.getModelByName(configParams.getStringExtra(MODEL_NAME)); in init()
|
/test/vts-testcase/hal/neuralnetworks/V1_2/benchmark/java/src/com/android/nn/benchmark/vts/v1_2/ |
D | NNAccuracyTest.java | 34 import com.android.nn.benchmark.core.TestModels; 60 final TestModels.TestModelEntry mEntry; 62 InstanceModel(String instance, TestModels.TestModelEntry entry) { in InstanceModel() 101 TestModels.TestModelEntry entry = TestModels.getModelByName(modelName); in parameterList()
|
/test/vts-testcase/hal/neuralnetworks/V1_3/benchmark/java/src/com/android/nn/benchmark/vts/v1_3/ |
D | NNAccuracyTest.java | 34 import com.android.nn.benchmark.core.TestModels; 60 final TestModels.TestModelEntry mEntry; 62 InstanceModel(String instance, TestModels.TestModelEntry entry) { in InstanceModel() 101 TestModels.TestModelEntry entry = TestModels.getModelByName(modelName); in parameterList()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | Processor.java | 137 TestModels.TestModelEntry t, float warmupTimeSeconds, float runTimeSeconds) in getInstrumentationResult() 145 TestModels.TestModelEntry t, float warmupTimeSeconds, float runTimeSeconds, in getInstrumentationResult() 162 TestModels.TestModelEntry testModelEntry, String acceleratorName) in isTestModelSupportedByAccelerator() 185 private NNTestBase changeTest(NNTestBase oldTestBase, TestModels.TestModelEntry t) in changeTest() 340 TestModels.TestModelEntry testModel = in benchmarkAllModels() 341 TestModels.modelsList().get(mTestList[ct]); in benchmarkAllModels()
|
D | TestModelsListLoader.java | 150 TestModels.registerModel( in parseJSONModelsList() 151 new TestModels.TestModelEntry(name, (float) baseline, inputSize, inputOutputs, in parseJSONModelsList()
|
/test/mlts/benchmark/crashtest/src/com/android/nn/crashtest/ |
D | MainActivity.java | 36 import com.android.nn.benchmark.core.TestModels; 87 mAllTestModels = TestModels.modelsList().stream().map( in onCreate() 88 TestModels.TestModelEntry::getTestName).collect( in onCreate() 174 result.addAll(TestModels.modelsList().stream() in modelsForAccelerator() 175 .map(TestModels.TestModelEntry::withDisabledEvaluation).filter( in modelsForAccelerator() 201 TestModels.TestModelEntry::getTestName).collect( in modelsForAccelerator()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/util/ |
D | DumpIntermediateTensors.java | 24 import com.android.nn.benchmark.core.TestModels; 25 import com.android.nn.benchmark.core.TestModels.TestModelEntry; 95 TestModelEntry modelEntry = TestModels.getModelByName(modelName); in onCreate()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/ |
D | OutOfProcessCrashTestService.java | 21 import com.android.nn.benchmark.core.TestModels; 30 if (TestModels.isListFrozen()) { in onCreate()
|
/test/mlts/benchmark/dogfood/src/com/android/nn/dogfood/ |
D | BenchmarkJobService.java | 32 import com.android.nn.benchmark.core.TestModels; 143 List<TestModels.TestModelEntry> testList = TestModels.modelsList(); in randomModelList()
|