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.java26 public static class TestModelEntry { class in TestModels
57 public TestModelEntry(String modelName, float baselineSec, int[] inputShape, in TestModelEntry() method in TestModels.TestModelEntry
107 public TestModelEntry withDisabledEvaluation() { in withDisabledEvaluation()
108 return new TestModelEntry(mModelName, mBaselineSec, mInputShape, mInOutAssets, in withDisabledEvaluation()
115 static private final List<TestModelEntry> sTestModelEntryList = new ArrayList<>();
116 static private final AtomicReference<List<TestModelEntry>> frozenEntries =
121 static public void registerModel(TestModelEntry model) { in registerModel()
137 static public List<TestModelEntry> modelsList() { in modelsList()
143 static public TestModelEntry getModelByName(String name) { in getModelByName()
144 for (TestModelEntry testModelEntry : modelsList()) { in getModelByName()
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()
DTestModelsListLoader.java151 new TestModels.TestModelEntry(name, (float) baseline, inputSize, inputOutputs, in parseJSONModelsList()
/test/mlts/benchmark/src/com/android/nn/crashtest/app/
DAcceleratorSpecificTestSupport.java44 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.java54 protected Optional<TestModels.TestModelEntry> mModelForLivenessTest;
82 protected Optional<TestModels.TestModelEntry> findModelForLivenessTest() in findModelForLivenessTest()
95 Optional<TestModels.TestModelEntry> modelForLivenessTest = findModelForLivenessTest(); in testDriverDoesNotFailWithParallelWorkload()
DNNRandomGraphTest.java100 protected Optional<TestModels.TestModelEntry> findModelForLivenessTest() in findModelForLivenessTest()
DNNMemoryMappedModelCompilationTest.java100 Optional<TestModels.TestModelEntry> modelForLivenessTest = in testDriverDoesNotFailWithParallelThreads()
DNNClientEarlyTerminationTest.java96 Optional<TestModels.TestModelEntry> modelForLivenessTest = in testDriverDoesNotFailWithParallelThreads()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DBenchmarkTestBase.java34 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
57 protected final TestModelEntry mModel;
79 public BenchmarkTestBase(TestModelEntry model) { in BenchmarkTestBase()
179 private final TestModelEntry mTestModel;
188 public TestAction(TestModelEntry testName, float maxWarmupTimeSeconds, in TestAction()
193 public TestAction(TestModelEntry testName, float maxWarmupTimeSeconds, in TestAction()
269 public static List<TestModelEntry> modelsList() { in modelsList()
DNNInferenceStressTest.java46 public NNInferenceStressTest(TestModels.TestModelEntry model) { in NNInferenceStressTest()
51 public static List<TestModels.TestModelEntry> modelsList() { in modelsList()
53 .map(TestModels.TestModelEntry::withDisabledEvaluation) in modelsList()
DNNModelLoadingStressTest.java45 public NNModelLoadingStressTest(TestModels.TestModelEntry model) { in NNModelLoadingStressTest()
50 public static List<TestModels.TestModelEntry> modelsList() { in modelsList()
52 .map(TestModels.TestModelEntry::withDisabledEvaluation) in modelsList()
DTFLiteTest.java22 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
30 public TFLiteTest(TestModelEntry model) { in TFLiteTest()
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()
DNNBenchmark.java29 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
145 public BenchmarkResult runSynchronously(TestModelEntry testModel, in runSynchronously()
DNNTest.java41 public NNTest(TestModels.TestModelEntry model) { in NNTest()
DNNCrystalBallTest.java44 public NNCrystalBallTest(TestModels.TestModelEntry model) { in NNCrystalBallTest()
DNNScoringTest.java55 public NNScoringTest(TestModels.TestModelEntry model) { 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/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/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/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()