Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientPreparedModel.cpp69 Factory makePreparedModel) { in create() argument
70 if (makePreparedModel == nullptr) { in create()
74 auto preparedModel = NN_TRY(makePreparedModel()); in create()
77 PrivateConstructorTag{}, std::move(makePreparedModel), std::move(preparedModel)); in create()
81 Factory makePreparedModel, in ResilientPreparedModel() argument
83 : kMakePreparedModel(std::move(makePreparedModel)), mPreparedModel(std::move(preparedModel)) { in ResilientPreparedModel()
DResilientDevice.cpp185 ResilientPreparedModel::Factory makePreparedModel = [device = std::move(self), model, in prepareModel()
191 return ResilientPreparedModel::create(std::move(makePreparedModel)); in prepareModel()
203 ResilientPreparedModel::Factory makePreparedModel = [device = std::move(self), deadline, in prepareModelFromCache()
207 return ResilientPreparedModel::create(std::move(makePreparedModel)); in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DResilientPreparedModel.h41 Factory makePreparedModel);
43 explicit ResilientPreparedModel(PrivateConstructorTag tag, Factory makePreparedModel,