Searched refs:TestModels (Results 1 – 10 of 10) sorted by relevance
33 import com.android.nn.benchmark.core.TestModels;86 for (TestModels.TestModelEntry testModel : TestModels.modelsList()) { in init()130 int modelsCount = TestModels.modelsList().size(); in btnRun()153 String getResultShortSummary(BenchmarkResult br, TestModels.TestModelEntry t) { in getResultShortSummary()160 int size = TestModels.modelsList().size(); in onActivityResult()169 TestModels.TestModelEntry t = TestModels.modelsList().get(id[ct]); in onActivityResult()185 for (int i = 0; i < TestModels.modelsList().size(); i++) { in btnSelAll()191 for (int i = 0; i < TestModels.modelsList().size(); i++) { in btnSelNone()
22 import com.android.nn.benchmark.core.TestModels;55 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()86 models.add(TestModels.getModelByName(modelName)); in modelsList()
33 import com.android.nn.benchmark.core.TestModels;87 TestModels.TestModelEntry t, float warmupTimeSeconds, float runTimeSeconds) in getInstrumentationResult()189 TestModels.TestModelEntry testModel = in run()190 TestModels.modelsList().get(mTestList[ct]); in run()254 NNTestBase changeTest(TestModels.TestModelEntry t) { in changeTest()
22 import com.android.nn.benchmark.core.TestModels;41 public NNTest(TestModels.TestModelEntry model) { in NNTest()
30 import com.android.nn.benchmark.core.TestModels;31 import com.android.nn.benchmark.core.TestModels.TestModelEntry;176 return TestModels.modelsList(); in modelsList()
22 import com.android.nn.benchmark.core.TestModels.TestModelEntry;
32 import com.android.nn.benchmark.core.TestModels;58 @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()87 models.add(TestModels.getModelByName(modelName)); in modelsList()
22 import com.android.nn.benchmark.core.TestModels.TestModelEntry;23 import com.android.nn.benchmark.core.TestModels;62 TestModelEntry modelEntry = TestModels.getModelByName(modelName); in onCreate()
24 public class TestModels { class109 synchronized (TestModels.class) { in modelsList()
148 TestModels.registerModel( in parseJSONModelsList()149 new TestModels.TestModelEntry(name, (float) baseline, inputSize, in parseJSONModelsList()