Home
last modified time | relevance | path

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

/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DTestModelsListLoader.java55 JSONObject jsonTestModelEntry = jsonModelsArray.getJSONObject(i); in parseJSONModelsList() local
57 String name = jsonTestModelEntry.getString("name"); in parseJSONModelsList()
59 if (jsonTestModelEntry.has("testName")) { in parseJSONModelsList()
60 testName = jsonTestModelEntry.getString("testName"); in parseJSONModelsList()
63 if (jsonTestModelEntry.has("modelFile")) { in parseJSONModelsList()
64 modelFile = jsonTestModelEntry.getString("modelFile"); in parseJSONModelsList()
66 double baseline = jsonTestModelEntry.getDouble("baselineSec"); in parseJSONModelsList()
68 if (jsonTestModelEntry.has("minSdkVersion")) { in parseJSONModelsList()
69 minSdkVersion = jsonTestModelEntry.getInt("minSdkVersion"); in parseJSONModelsList()
72 if (jsonTestModelEntry.has("evaluator")) { in parseJSONModelsList()
[all …]