Searched refs:mTestModelEntry (Results 1 – 3 of 3) sorted by relevance
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | RunModelsInMultipleProcesses.java | 60 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 …]
|
D | PerformanceDegradationTest.java | 247 private final TestModels.TestModelEntry mTestModelEntry; 253 mTestModelEntry = testModelEntry; 274 mProcessor.getInstrumentationResult(mTestModelEntry, 0, 0);
|
/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | AcceleratorSpecificTestSupport.java | 111 private final TestModels.TestModelEntry mTestModelEntry; field in DriverLivenessChecker 128 mTestModelEntry = testModelEntry; in DriverLivenessChecker() 140 mTestModelEntry, 0, 3); in call() 147 Log.e(TAG, String.format("Error running model %s", mTestModelEntry.mModelName)); in call()
|