/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 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()
|
D | Processor.java | 137 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()
|
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 | 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()
|
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/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() 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()
|
D | NNInferenceStressTest.java | 46 public NNInferenceStressTest(TestModels.TestModelEntry model) { in NNInferenceStressTest() 51 public static List<TestModels.TestModelEntry> modelsList() { in modelsList() 53 .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; 145 public BenchmarkResult runSynchronously(TestModelEntry testModel, in runSynchronously()
|
D | NNTest.java | 41 public NNTest(TestModels.TestModelEntry model) { in NNTest()
|
D | NNCrystalBallTest.java | 44 public NNCrystalBallTest(TestModels.TestModelEntry model) { in NNCrystalBallTest()
|
D | NNScoringTest.java | 55 public NNScoringTest(TestModels.TestModelEntry model) { in NNScoringTest()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | PerformanceDegradationTest.java | 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) {
|
D | RunModelsInMultipleProcesses.java | 60 private TestModels.TestModelEntry mTestModelEntry;
|
/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; 95 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 | 143 List<TestModels.TestModelEntry> testList = TestModels.modelsList(); in randomModelList()
|