/frameworks/ml/nn/runtime/ |
D | Manager.cpp | 77 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 …]
|
D | Callbacks.cpp | 31 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()
|
D | Callbacks.h | 93 Return<void> notify(ErrorStatus status, const sp<V1_0::IPreparedModel>& preparedModel) override; 119 const sp<V1_2::IPreparedModel>& preparedModel) override;
|
D | Manager.h | 73 std::shared_ptr<VersionedIPreparedModel>* preparedModel) = 0; 77 std::shared_ptr<VersionedIPreparedModel>* preparedModel) = 0;
|
D | ExecutionPlan.cpp | 122 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 …]
|
D | VersionedInterfaces.cpp | 95 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()
|
D | VersionedInterfaces.h | 631 VersionedIPreparedModel(sp<V1_0::IPreparedModel> preparedModel,
|
D | ExecutionBuilder.h | 181 std::shared_ptr<VersionedIPreparedModel> preparedModel);
|
D | ExecutionBuilder.cpp | 718 std::shared_ptr<VersionedIPreparedModel> preparedModel) in StepExecutor() argument 722 mPreparedModel(preparedModel), in StepExecutor()
|
/frameworks/ml/nn/driver/sample/ |
D | SampleDriver.cpp | 126 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/ |
D | ExecutionBurstServer.cpp | 42 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()
|
D | ExecutionBurstController.cpp | 438 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/ |
D | TestExecution.cpp | 65 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/ |
D | ExecutionBurstServer.h | 277 IPreparedModel* preparedModel);
|
D | ExecutionBurstController.h | 267 static std::unique_ptr<ExecutionBurstController> create(const sp<IPreparedModel>& preparedModel,
|