Home
last modified time | relevance | path

Searched refs:TestModels (Results 1 – 25 of 27) sorted by relevance

12

/test/mlts/benchmark/src/com/android/nn/crashtest/app/
DAcceleratorSpecificTestSupport.java29 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()
DNNMultipleProcessTest.java30 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()
DNNMemoryMappedModelCompilationTest.java28 import com.android.nn.benchmark.core.TestModels;
100 Optional<TestModels.TestModelEntry> modelForLivenessTest = in testDriverDoesNotFailWithParallelThreads()
120 int modelsCount = TestModels.modelsList().size(); in compileSupportedModelsMemoryMappedOnNThreadsFor()
DNNClientEarlyTerminationTest.java28 import com.android.nn.benchmark.core.TestModels;
96 Optional<TestModels.TestModelEntry> modelForLivenessTest = in testDriverDoesNotFailWithParallelThreads()
134 TestModels.modelsList().size()).toArray()); in compileSupportedModelsOnNThreadsFor()
DNNPerformanceDegradationTestActivity.java21 import com.android.nn.benchmark.core.TestModels;
52 return oneModelTestDuration * TestModels.modelsList().size(); in getTestDurationMillis()
DNNParallelInferenceTest.java31 import com.android.nn.benchmark.core.TestModels;
119 int modelsCount = TestModels.modelsList().size(); in runAllModelsOnNThreadsForOnAccelerator()
DNNRandomGraphTest.java30 import com.android.nn.benchmark.core.TestModels;
100 protected Optional<TestModels.TestModelEntry> findModelForLivenessTest() in findModelForLivenessTest()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNControls.java34 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()
DNNInferenceStressTest.java21 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()
DNNModelLoadingStressTest.java21 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()
DNNTest.java22 import com.android.nn.benchmark.core.TestModels;
41 public NNTest(TestModels.TestModelEntry model) { in NNTest()
DNNCrystalBallTest.java21 import com.android.nn.benchmark.core.TestModels;
44 public NNCrystalBallTest(TestModels.TestModelEntry model) { in NNCrystalBallTest()
DNNScoringTest.java22 import com.android.nn.benchmark.core.TestModels;
55 public NNScoringTest(TestModels.TestModelEntry model) { in NNScoringTest()
DBenchmarkTestBase.java33 import com.android.nn.benchmark.core.TestModels;
34 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
270 return TestModels.modelsList(); in modelsList()
DTFLiteTest.java22 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/
DPerformanceDegradationTest.java27 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) {
DRunModelsInMultipleProcesses.java26 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/
DNNAccuracyTest.java34 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/
DNNAccuracyTest.java34 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/
DProcessor.java137 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()
DTestModelsListLoader.java150 TestModels.registerModel( in parseJSONModelsList()
151 new TestModels.TestModelEntry(name, (float) baseline, inputSize, inputOutputs, in parseJSONModelsList()
/test/mlts/benchmark/crashtest/src/com/android/nn/crashtest/
DMainActivity.java36 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/
DDumpIntermediateTensors.java24 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/
DOutOfProcessCrashTestService.java21 import com.android.nn.benchmark.core.TestModels;
30 if (TestModels.isListFrozen()) { in onCreate()
/test/mlts/benchmark/dogfood/src/com/android/nn/dogfood/
DBenchmarkJobService.java32 import com.android.nn.benchmark.core.TestModels;
143 List<TestModels.TestModelEntry> testList = TestModels.modelsList(); in randomModelList()

12