Home
last modified time | relevance | path

Searched refs:TestModelEntry (Results 1 – 23 of 23) 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
101 public TestModelEntry withDisabledEvaluation() { in withDisabledEvaluation()
102 return new TestModelEntry(mModelName, mBaselineSec, mInputShape, mInOutAssets, in withDisabledEvaluation()
109 static private final List<TestModelEntry> sTestModelEntryList = new ArrayList<>();
110 static private final AtomicReference<List<TestModelEntry>> frozenEntries =
115 static public void registerModel(TestModelEntry model) { in registerModel()
131 static public List<TestModelEntry> modelsList() { in modelsList()
137 static public TestModelEntry getModelByName(String name) { in getModelByName()
138 for (TestModelEntry testModelEntry : modelsList()) { in getModelByName()
DProcessor.java134 TestModels.TestModelEntry t, float warmupTimeSeconds, float runTimeSeconds) in getInstrumentationResult()
148 TestModels.TestModelEntry testModelEntry, String acceleratorName) in isTestModelSupportedByAccelerator()
171 private NNTestBase changeTest(NNTestBase oldTestBase, TestModels.TestModelEntry t) in changeTest()
328 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.java43 static Optional<TestModels.TestModelEntry> findTestModelRunningOnAccelerator( in findTestModelRunningOnAccelerator()
45 for (TestModels.TestModelEntry model : TestModels.modelsList()) { in findTestModelRunningOnAccelerator()
53 static List<TestModels.TestModelEntry> findAllTestModelsRunningOnAccelerator( in findAllTestModelsRunningOnAccelerator()
55 List<TestModels.TestModelEntry> result = new ArrayList<>(); in findAllTestModelsRunningOnAccelerator()
56 for (TestModels.TestModelEntry model : TestModels.modelsList()) { in findAllTestModelsRunningOnAccelerator()
111 private final TestModels.TestModelEntry mTestModelEntry;
114 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/crashtest/core/test/
DPerformanceDegradationTest.java119 List<TestModels.TestModelEntry> modelsForAccelerator = in call()
130 TestModels.TestModelEntry modelForInference = modelsForAccelerator.get(0); in call()
133 for (TestModels.TestModelEntry modelForCompilation : modelsForAccelerator) { in call()
146 TestModels.TestModelEntry inferenceModelEntry, in testDegradationForModels()
147 TestModels.TestModelEntry compilationModelEntry) throws Exception { in testDegradationForModels()
226 final TestModels.TestModelEntry inferenceModelEntry, final CountDownLatch start) { in modelPerformanceCollector()
247 private final TestModels.TestModelEntry mTestModelEntry;
251 final String acceleratorName, TestModels.TestModelEntry testModelEntry) {
DRunModelsInMultipleProcesses.java60 private TestModels.TestModelEntry mTestModelEntry;
/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()
175 private final TestModelEntry mTestModel;
183 public TestAction(TestModelEntry testName, float warmupTimeSeconds, float runTimeSeconds) { in TestAction()
255 public static List<TestModelEntry> modelsList() { in modelsList()
DNNInferenceStressTest.java42 public NNInferenceStressTest(TestModels.TestModelEntry model) { in NNInferenceStressTest()
47 public static List<TestModels.TestModelEntry> modelsList() { in modelsList()
49 .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;
140 public BenchmarkResult runSynchronously(TestModelEntry testModel, in runSynchronously()
DNNTest.java41 public NNTest(TestModels.TestModelEntry model) { in NNTest()
DNNScoringTest.java55 public NNScoringTest(TestModels.TestModelEntry model) { in NNScoringTest()
/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;
92 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.java142 List<TestModels.TestModelEntry> testList = TestModels.modelsList(); in randomModelList()