/test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | TestModels.java | 26 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()
|
D | Processor.java | 134 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()
|
D | TestModelsListLoader.java | 151 new TestModels.TestModelEntry(name, (float) baseline, inputSize, inputOutputs, in parseJSONModelsList()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | AcceleratorSpecificTestSupport.java | 43 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()
|
D | NNMultipleProcessTest.java | 54 protected Optional<TestModels.TestModelEntry> mModelForLivenessTest; 82 protected Optional<TestModels.TestModelEntry> findModelForLivenessTest() in findModelForLivenessTest() 95 Optional<TestModels.TestModelEntry> modelForLivenessTest = findModelForLivenessTest(); in testDriverDoesNotFailWithParallelWorkload()
|
D | NNRandomGraphTest.java | 100 protected Optional<TestModels.TestModelEntry> findModelForLivenessTest() in findModelForLivenessTest()
|
D | NNMemoryMappedModelCompilationTest.java | 100 Optional<TestModels.TestModelEntry> modelForLivenessTest = in testDriverDoesNotFailWithParallelThreads()
|
D | NNClientEarlyTerminationTest.java | 96 Optional<TestModels.TestModelEntry> modelForLivenessTest = in testDriverDoesNotFailWithParallelThreads()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | PerformanceDegradationTest.java | 119 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) {
|
D | RunModelsInMultipleProcesses.java | 60 private TestModels.TestModelEntry mTestModelEntry;
|
/test/mlts/benchmark/src/com/android/nn/benchmark/app/ |
D | BenchmarkTestBase.java | 34 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()
|
D | NNInferenceStressTest.java | 42 public NNInferenceStressTest(TestModels.TestModelEntry model) { in NNInferenceStressTest() 47 public static List<TestModels.TestModelEntry> modelsList() { in modelsList() 49 .map(TestModels.TestModelEntry::withDisabledEvaluation) in modelsList()
|
D | NNModelLoadingStressTest.java | 45 public NNModelLoadingStressTest(TestModels.TestModelEntry model) { in NNModelLoadingStressTest() 50 public static List<TestModels.TestModelEntry> modelsList() { in modelsList() 52 .map(TestModels.TestModelEntry::withDisabledEvaluation) in modelsList()
|
D | TFLiteTest.java | 22 import com.android.nn.benchmark.core.TestModels.TestModelEntry; 30 public TFLiteTest(TestModelEntry model) { in TFLiteTest()
|
D | NNControls.java | 72 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()
|
D | NNBenchmark.java | 29 import com.android.nn.benchmark.core.TestModels.TestModelEntry; 140 public BenchmarkResult runSynchronously(TestModelEntry testModel, in runSynchronously()
|
D | NNTest.java | 41 public NNTest(TestModels.TestModelEntry model) { in NNTest()
|
D | NNScoringTest.java | 55 public NNScoringTest(TestModels.TestModelEntry model) { in NNScoringTest()
|
/test/vts-testcase/hal/neuralnetworks/V1_2/benchmark/java/src/com/android/nn/benchmark/vts/v1_2/ |
D | NNAccuracyTest.java | 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 | 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/util/ |
D | DumpIntermediateTensors.java | 25 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/ |
D | MainActivity.java | 88 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/ |
D | BenchmarkJobService.java | 142 List<TestModels.TestModelEntry> testList = TestModels.modelsList(); in randomModelList()
|