Home
last modified time | relevance | path

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

/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/
DRunModelsInMultipleProcesses.java60 private TestModels.TestModelEntry mTestModelEntry; field in RunModelsInMultipleProcesses
100 mTestModelEntry = TestModels.getModelByName(configParams.getStringExtra(MODEL_NAME)); in init()
123 new File(mContext.getExternalFilesDir(null), mTestModelEntry.mModelFile + ".tflite"); in call()
125 new File(mContext.getExternalFilesDir(null), mTestModelEntry.mModelFile + ".input"); in call()
130 mContext, mTestModelEntry.mModelFile + ".tflite", targetModelFile)) { in call()
132 mTestModelEntry.mModelFile, targetModelFile.getAbsolutePath())); in call()
135 mContext, mTestModelEntry.mInOutAssets, mTestModelEntry.mInOutDatasets); in call()
138 if (!writeModelInput(targetInputFile, inputOutputAssets, mTestModelEntry.mInputShape, in call()
139 mTestModelEntry.mInDataSize)) { in call()
141 targetInputFile.getAbsolutePath(), mTestModelEntry.mModelName)); in call()
[all …]
DPerformanceDegradationTest.java248 private final TestModels.TestModelEntry mTestModelEntry;
254 mTestModelEntry = testModelEntry;
275 mProcessor.getInstrumentationResult(mTestModelEntry, 0, 0);
/test/mlts/benchmark/src/com/android/nn/crashtest/app/
DAcceleratorSpecificTestSupport.java112 private final TestModels.TestModelEntry mTestModelEntry; field in DriverLivenessChecker
129 mTestModelEntry = testModelEntry; in DriverLivenessChecker()
141 mTestModelEntry, 0, 3); in call()
148 Log.e(TAG, String.format("Error running model %s", mTestModelEntry.mModelName)); in call()