Home
last modified time | relevance | path

Searched refs:SharedPreparedModel (Results 1 – 12 of 12) sorted by relevance

/packages/modules/NeuralNetworks/driver/sample/
DCanonicalDevice.h54 GeneralResult<SharedPreparedModel> prepareModel(
61 GeneralResult<SharedPreparedModel> prepareModelFromCache(
66 const std::vector<SharedPreparedModel>& preparedModels,
DLimitedSupportDevice.h61 GeneralResult<SharedPreparedModel> prepareModel(
68 GeneralResult<SharedPreparedModel> prepareModelFromCache(
73 const std::vector<SharedPreparedModel>& preparedModels,
DCanonicalDevice.cpp158 GeneralResult<SharedPreparedModel> Device::prepareModel( in prepareModel()
196 GeneralResult<SharedPreparedModel> Device::prepareModelFromCache( in prepareModelFromCache()
207 const std::vector<SharedPreparedModel>& preparedModels, in allocate()
213 auto getModel = [](const SharedPreparedModel& preparedModel) -> const Model* { in allocate()
DLimitedSupportDevice.cpp189 GeneralResult<SharedPreparedModel> LimitedSupportDevice::prepareModel( in prepareModel()
204 GeneralResult<SharedPreparedModel> LimitedSupportDevice::prepareModelFromCache( in prepareModelFromCache()
211 const BufferDesc& desc, const std::vector<SharedPreparedModel>& preparedModels, in allocate()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DIDevice.h252 virtual GeneralResult<SharedPreparedModel> prepareModel(
311 virtual GeneralResult<SharedPreparedModel> prepareModelFromCache(
356 const BufferDesc& desc, const std::vector<SharedPreparedModel>& preparedModels,
DValidation.h93 const BufferDesc& desc, const std::vector<SharedPreparedModel>& preparedModels,
95 const std::function<const Model*(const SharedPreparedModel&)>& getModel,
DTypes.h85 using SharedPreparedModel = std::shared_ptr<const IPreparedModel>; variable
/packages/modules/NeuralNetworks/common/include/
DDefaultExecution.h34 DefaultExecution(SharedPreparedModel preparedModel, Request request, MeasureTiming measure, in DefaultExecution()
57 const SharedPreparedModel kPreparedModel;
/packages/modules/NeuralNetworks/runtime/
DManager.cpp167 GeneralResult<SharedPreparedModel> prepareModelFromCacheInternal(
182 DriverPreparedModel(const Device* device, const SharedPreparedModel& preparedModel) in DriverPreparedModel()
189 SharedPreparedModel getInterface() const override { return mPreparedModel; } in getInterface()
231 const SharedPreparedModel mPreparedModel;
473 GeneralResult<SharedPreparedModel> DriverDevice::prepareModelFromCacheInternal( in prepareModelFromCacheInternal()
528 SharedPreparedModel preparedModel = std::move(result).value(); in prepareModel()
538 std::vector<SharedPreparedModel> preparedModels(desc.preparedModels.size()); in allocate()
927 SharedPreparedModel getInterface() const override { return nullptr; } in getInterface()
DManager.h75 virtual SharedPreparedModel getInterface() const = 0;
/packages/modules/NeuralNetworks/common/types/src/
DValidation.cpp1247 const BufferDesc& desc, const std::vector<SharedPreparedModel>& preparedModels, in validateMemoryDescImpl()
1249 const std::function<const Model*(const SharedPreparedModel&)>& getModel, in validateMemoryDescImpl()
1958 const BufferDesc& desc, const std::vector<SharedPreparedModel>& preparedModels, in validateMemoryDesc()
1960 const std::function<const Model*(const SharedPreparedModel&)>& getModel, in validateMemoryDesc()
/packages/modules/NeuralNetworks/tools/api/
DTypes.t78 using SharedPreparedModel = std::shared_ptr<const IPreparedModel>;