Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/
DManager.cpp77 std::shared_ptr<VersionedIPreparedModel>* preparedModel) override;
80 std::shared_ptr<VersionedIPreparedModel>* preparedModel) override;
229 const std::shared_ptr<VersionedIPreparedModel>& preparedModel, in prepareModelCheck() argument
240 if (preparedModel == nullptr) { in prepareModelCheck()
245 *preparedModelOut = preparedModel; in prepareModelCheck()
252 std::shared_ptr<VersionedIPreparedModel>* preparedModel) { in prepareModel() argument
259 return prepareModelCheck(status, localPreparedModel, "prepareModel", getName(), preparedModel); in prepareModel()
265 std::shared_ptr<VersionedIPreparedModel>* preparedModel) { in prepareModelFromCache() argument
273 preparedModel); in prepareModelFromCache()
310 std::shared_ptr<VersionedIPreparedModel>* preparedModel) override;
[all …]
DCallbacks.cpp31 const sp<V1_0::IPreparedModel>& preparedModel) { in notify() argument
42 mPreparedModel = preparedModel; in notify()
51 const sp<V1_2::IPreparedModel>& preparedModel) { in notify_1_2() argument
52 return notify(errorStatus, preparedModel); in notify_1_2()
DCallbacks.h93 Return<void> notify(ErrorStatus status, const sp<V1_0::IPreparedModel>& preparedModel) override;
119 const sp<V1_2::IPreparedModel>& preparedModel) override;
DManager.h73 std::shared_ptr<VersionedIPreparedModel>* preparedModel) = 0;
77 std::shared_ptr<VersionedIPreparedModel>* preparedModel) = 0;
DExecutionPlan.cpp122 std::shared_ptr<VersionedIPreparedModel>* preparedModel) { in compileFromCache() argument
125 *preparedModel = nullptr; in compileFromCache()
130 int ret = device->prepareModelFromCache(modelCache, dataCache, cacheToken, preparedModel); in compileFromCache()
137 std::shared_ptr<VersionedIPreparedModel>* preparedModel) { in compileModelAndCache() argument
139 *preparedModel = nullptr; in compileModelAndCache()
151 modelCache, dataCache, cacheToken, preparedModel); in compileModelAndCache()
161 std::shared_ptr<VersionedIPreparedModel>* preparedModel) { in compile() argument
169 if (tokenData != nullptr && compileFromCache(device, cacheDir, tokenData, preparedModel)) { in compile()
173 preparedModel); in compile()
656 if (const auto preparedModel = step->getPreparedSubModel()) { in makeBursts() local
[all …]
DVersionedInterfaces.cpp95 sp<V1_0::IPreparedModel> preparedModel) { in makeVersionedIPreparedModel() argument
97 if (!preparedModel) { in makeVersionedIPreparedModel()
113 const Return<bool> ret = preparedModel->linkToDeath(deathHandler, 0); in makeVersionedIPreparedModel()
121 return std::make_shared<VersionedIPreparedModel>(std::move(preparedModel), in makeVersionedIPreparedModel()
125 VersionedIPreparedModel::VersionedIPreparedModel(sp<V1_0::IPreparedModel> preparedModel, in VersionedIPreparedModel() argument
127 : mPreparedModelV1_0(std::move(preparedModel)), in VersionedIPreparedModel()
DVersionedInterfaces.h631 VersionedIPreparedModel(sp<V1_0::IPreparedModel> preparedModel,
DExecutionBuilder.h181 std::shared_ptr<VersionedIPreparedModel> preparedModel);
DExecutionBuilder.cpp718 std::shared_ptr<VersionedIPreparedModel> preparedModel) in StepExecutor() argument
722 mPreparedModel(preparedModel), in StepExecutor()
/frameworks/ml/nn/driver/sample/
DSampleDriver.cpp126 const sp<SamplePreparedModel>& preparedModel) { in notify() argument
127 callback->notify(status, preparedModel); in notify()
131 const sp<SamplePreparedModel>& preparedModel) { in notify() argument
132 callback->notify_1_2(status, preparedModel); in notify()
153 sp<SamplePreparedModel> preparedModel = new SamplePreparedModel(convertToV1_2(model), driver); in prepareModelBase() local
154 if (!preparedModel->initialize()) { in prepareModelBase()
158 notify(callback, ErrorStatus::NONE, preparedModel); in prepareModelBase()
/frameworks/ml/nn/common/
DExecutionBurstServer.cpp42 DefaultBurstExecutorWithCache(IPreparedModel* preparedModel) : mpPreparedModel(preparedModel) {} in DefaultBurstExecutorWithCache() argument
463 const MQDescriptorSync<FmqResultDatum>& resultChannel, IPreparedModel* preparedModel) { in create() argument
465 if (preparedModel == nullptr) { in create()
472 std::make_shared<DefaultBurstExecutorWithCache>(preparedModel); in create()
DExecutionBurstController.cpp438 const sp<IPreparedModel>& preparedModel, bool blocking) { in create() argument
440 if (preparedModel == nullptr) { in create()
468 const Return<void> ret = preparedModel->configureExecutionBurst( in create()
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp65 TestPreparedModel12(sp<V1_0::IPreparedModel> preparedModel, ErrorStatus errorStatus) in TestPreparedModel12() argument
66 : mPreparedModelV1_0(preparedModel), in TestPreparedModel12()
67 mPreparedModelV1_2(V1_2::IPreparedModel::castFrom(preparedModel).withDefault(nullptr)), in TestPreparedModel12()
137 TestPreparedModel10(sp<V1_0::IPreparedModel> preparedModel, ErrorStatus errorStatus) in TestPreparedModel10() argument
138 : m12PreparedModel(new TestPreparedModel12(preparedModel, errorStatus)) {} in TestPreparedModel10()
/frameworks/ml/nn/common/include/
DExecutionBurstServer.h277 IPreparedModel* preparedModel);
DExecutionBurstController.h267 static std::unique_ptr<ExecutionBurstController> create(const sp<IPreparedModel>& preparedModel,