Home
last modified time | relevance | path

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

/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DTestModels.java26 public static class TestModelEntry { class in TestModels
54 public TestModelEntry(String modelName, float baselineSec, int[] inputShape, in TestModelEntry() method in TestModels.TestModelEntry
91 static private List<TestModelEntry> sTestModelEntryList = new ArrayList<>();
95 static public void registerModel(TestModelEntry model) { in registerModel()
106 static public List<TestModelEntry> modelsList() { in modelsList()
120 static public TestModelEntry getModelByName(String name) { in getModelByName()
121 for (TestModelEntry testModelEntry : modelsList()) { in getModelByName()
DTestModelsListLoader.java149 new TestModels.TestModelEntry(name, (float) baseline, inputSize, in parseJSONModelsList()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DBenchmarkTestBase.java31 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
52 protected final TestModelEntry mModel;
69 public BenchmarkTestBase(TestModelEntry model) { in BenchmarkTestBase()
105 TestModelEntry mTestModel;
111 public TestAction(TestModelEntry testName) { in TestAction()
114 public TestAction(TestModelEntry testName, float warmupTimeSeconds, float runTimeSeconds) { in TestAction()
175 public static List<TestModelEntry> modelsList() { in modelsList()
DNNScoringTest.java55 public NNScoringTest(TestModels.TestModelEntry model) { in NNScoringTest()
83 public static List<TestModels.TestModelEntry> modelsList() { in modelsList()
84 List<TestModels.TestModelEntry> models = new ArrayList<>(); in modelsList()
DTFLiteTest.java22 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
30 public TFLiteTest(TestModelEntry model) { in TFLiteTest()
DNNControls.java86 for (TestModels.TestModelEntry testModel : TestModels.modelsList()) { in init()
153 String getResultShortSummary(BenchmarkResult br, TestModels.TestModelEntry t) { in getResultShortSummary()
169 TestModels.TestModelEntry t = TestModels.modelsList().get(id[ct]); in onActivityResult()
DNNBenchmark.java87 TestModels.TestModelEntry t, float warmupTimeSeconds, float runTimeSeconds) in getInstrumentationResult()
189 TestModels.TestModelEntry testModel = in run()
254 NNTestBase changeTest(TestModels.TestModelEntry t) { in changeTest()
DNNTest.java41 public NNTest(TestModels.TestModelEntry model) { in NNTest()
/test/vts-testcase/hal/neuralnetworks/V1_2/benchmark/java/src/com/android/nn/benchmark/vts/v1_2/
DNNAccuracyTest.java58 @Parameterized.Parameter(0) public TestModels.TestModelEntry mModel;
84 public static List<TestModels.TestModelEntry> modelsList() { in modelsList()
85 List<TestModels.TestModelEntry> models = new ArrayList<>(); in modelsList()
/test/mlts/benchmark/src/com/android/nn/benchmark/util/
DDumpAllTensors.java22 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
62 TestModelEntry modelEntry = TestModels.getModelByName(modelName); in onCreate()