Home
last modified time | relevance | path

Searched refs:TestModelEntry (Results 1 – 24 of 24) sorted by relevance

/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DTestModels.java29 public static class TestModelEntry { class in TestModels
60 public TestModelEntry(String modelName, float baselineSec, int[] inputShape, in TestModelEntry() method in TestModels.TestModelEntry
116 public TestModelEntry withDisabledEvaluation() { in withDisabledEvaluation()
117 return new TestModelEntry(mModelName, mBaselineSec, mInputShape, mInOutAssets, in withDisabledEvaluation()
124 static private final List<TestModelEntry> sTestModelEntryList = new ArrayList<>();
125 static private final AtomicReference<List<TestModelEntry>> frozenEntries =
130 static public void registerModel(TestModelEntry model) { in registerModel()
151 static public List<TestModelEntry> modelsList() { in modelsList()
158 static public List<TestModelEntry> modelsList(String modelFilterRegex) { in modelsList()
164 List<TestModelEntry> result = fullModelsList().stream() in modelsList()
[all …]
DProcessor.java26 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
158 TestModels.TestModelEntry t, float warmupTimeSeconds, float runTimeSeconds) in getInstrumentationResult()
166 TestModels.TestModelEntry t, float warmupTimeSeconds, float runTimeSeconds, in getInstrumentationResult()
183 TestModels.TestModelEntry testModelEntry, String acceleratorName) in isTestModelSupportedByAccelerator()
210 private NNTestBase changeTest(NNTestBase oldTestBase, TestModels.TestModelEntry t) in changeTest()
349 final List<TestModelEntry> modelsList = TestModels.modelsList(mModelFilterRegex); in benchmarkAllModels()
366 TestModels.TestModelEntry testModel = in benchmarkAllModels()
DTestModelsListLoader.java151 new TestModels.TestModelEntry(name, (float) baseline, inputSize, inputOutputs, in parseJSONModelsList()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DAcceleratorSpecificTestSupport.java45 static Optional<TestModels.TestModelEntry> findTestModelRunningOnAccelerator( in findTestModelRunningOnAccelerator()
47 for (TestModels.TestModelEntry model : TestModels.modelsList()) { in findTestModelRunningOnAccelerator()
55 static List<TestModels.TestModelEntry> findAllTestModelsRunningOnAccelerator( in findAllTestModelsRunningOnAccelerator()
57 List<TestModels.TestModelEntry> result = new ArrayList<>(); in findAllTestModelsRunningOnAccelerator()
58 for (TestModels.TestModelEntry model : TestModels.modelsList()) { in findAllTestModelsRunningOnAccelerator()
150 private final TestModels.TestModelEntry mTestModelEntry;
153 TestModels.TestModelEntry testModelEntry) {
DNNModelLoadingStressTest.java47 public NNModelLoadingStressTest(TestModels.TestModelEntry model, String acceleratorName) { in NNModelLoadingStressTest()
55 TestModels.TestModelEntry modelEntry = in modelsList()
56 (TestModels.TestModelEntry)modelAndAccelerator[0]; in modelsList()
DTFLiteTest.java22 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
31 public TFLiteTest(TestModelEntry model) { in TFLiteTest()
DBenchmarkTestBase.java40 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
64 protected final TestModelEntry mModel;
87 public BenchmarkTestBase(TestModelEntry model, String acceleratorName) { in BenchmarkTestBase()
211 private final TestModelEntry mTestModel;
220 public TestAction(TestModelEntry testName, float maxWarmupTimeSeconds, in TestAction()
225 public TestAction(TestModelEntry testName, float maxWarmupTimeSeconds, in TestAction()
DNNControls.java72 for (TestModels.TestModelEntry testModel : TestModels.modelsList()) { in init()
140 String getResultShortSummary(BenchmarkResult br, TestModels.TestModelEntry t) { in getResultShortSummary()
156 TestModels.TestModelEntry t = TestModels.modelsList().get(id[ct]); in onActivityResult()
DNNTest.java41 public NNTest(TestModels.TestModelEntry model) { in NNTest()
DNNBenchmark.java29 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
167 public BenchmarkResult runSynchronously(TestModelEntry testModel, in runSynchronously()
DNNInferenceStressTest.java44 public NNInferenceStressTest(TestModels.TestModelEntry model, String acceleratorName) { in NNInferenceStressTest()
DNNCrystalBallTest.java49 public NNCrystalBallTest(TestModels.TestModelEntry model, String acceleratorName) { in NNCrystalBallTest()
DNNScoringTest.java53 public NNScoringTest(TestModels.TestModelEntry model, String acceleratorName) { in NNScoringTest()
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/
DPerformanceDegradationTest.java120 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.java60 private TestModels.TestModelEntry mTestModelEntry;
/test/mlts/benchmark/src/com/android/nn/crashtest/app/
DNNMultipleProcessTest.java55 protected Optional<TestModels.TestModelEntry> mModelForLivenessTest;
83 protected Optional<TestModels.TestModelEntry> findModelForLivenessTest() in findModelForLivenessTest()
96 Optional<TestModels.TestModelEntry> modelForLivenessTest = findModelForLivenessTest(); in testDriverDoesNotFailWithParallelWorkload()
DNNRandomGraphTest.java101 protected Optional<TestModels.TestModelEntry> findModelForLivenessTest() in findModelForLivenessTest()
DNNMemoryMappedModelCompilationTest.java101 Optional<TestModels.TestModelEntry> modelForLivenessTest = in testDriverDoesNotFailWithParallelThreads()
DNNClientEarlyTerminationTest.java98 Optional<TestModels.TestModelEntry> modelForLivenessTest = in testDriverDoesNotFailWithParallelThreads()
/test/vts-testcase/hal/neuralnetworks/V1_3/benchmark/java/src/com/android/nn/benchmark/vts/v1_3/
DNNAccuracyTest.java60 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_2/benchmark/java/src/com/android/nn/benchmark/vts/v1_2/
DNNAccuracyTest.java60 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/util/
DDumpIntermediateTensors.java25 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
95 TestModelEntry modelEntry = TestModels.getModelByName(modelName); in onCreate()
/test/mlts/benchmark/crashtest/src/com/android/nn/crashtest/
DMainActivity.java88 TestModels.TestModelEntry::getTestName).collect( in onCreate()
175 .map(TestModels.TestModelEntry::withDisabledEvaluation).filter( in modelsForAccelerator()
201 TestModels.TestModelEntry::getTestName).collect( in modelsForAccelerator()
/test/mlts/benchmark/dogfood/src/com/android/nn/dogfood/
DBenchmarkJobService.java143 List<TestModels.TestModelEntry> testList = TestModels.modelsList(); in randomModelList()