Home
last modified time | relevance | path

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

/frameworks/ml/nn/driver/sample/
DSampleDriver.cpp85 sp<SamplePreparedModel> preparedModel = new SamplePreparedModel(model); in prepareModel_1_1() local
86 if (!preparedModel->initialize()) { in prepareModel_1_1()
90 callback->notify(ErrorStatus::NONE, preparedModel); in prepareModel_1_1()
/frameworks/ml/nn/runtime/
DCallbacks.cpp107 const sp<IPreparedModel>& preparedModel) { in notify() argument
109 mPreparedModel = preparedModel; in notify()
DCallbacks.h216 Return<void> notify(ErrorStatus status, const sp<IPreparedModel>& preparedModel) override;
DExecutionBuilder.h123 VersionedIDevice* driver, sp<IPreparedModel> preparedModel);
DExecutionPlan.cpp42 int32_t executionPreference, sp<IPreparedModel>* preparedModel) { in compile() argument
64 *preparedModel = preparedModelCallback->getPreparedModel(); in compile()
65 if (prepareReturnStatus != ErrorStatus::NONE || *preparedModel == nullptr) { in compile()
68 << ", preparedModel=" << preparedModel->get(); in compile()
DExecutionBuilder.cpp460 VersionedIDevice* driver, sp<IPreparedModel> preparedModel) : in StepExecutor() argument
462 mDriver(driver), mPreparedModel(preparedModel), in StepExecutor()
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp59 TestPreparedModel(sp<IPreparedModel> preparedModel, ErrorStatus errorStatus) : in TestPreparedModel() argument
60 mPreparedModel(preparedModel), mErrorStatus(errorStatus) {} in TestPreparedModel()