Home
last modified time | relevance | path

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

12

/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DResilientPreparedModel.h38 using Factory = std::function<nn::GeneralResult<nn::SharedPreparedModel>()>;
44 nn::SharedPreparedModel preparedModel);
46 nn::SharedPreparedModel getPreparedModel() const;
47 nn::GeneralResult<nn::SharedPreparedModel> recover(
85 mutable nn::SharedPreparedModel mPreparedModel GUARDED_BY(mMutex);
DResilientDevice.h65 nn::GeneralResult<nn::SharedPreparedModel> prepareModel(
72 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
78 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
84 nn::GeneralResult<nn::SharedPreparedModel> prepareModelInternal(
90 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCacheInternal(
94 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
DInvalidDevice.h52 nn::GeneralResult<nn::SharedPreparedModel> prepareModel(
59 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
65 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DBurst.h40 nn::SharedPreparedModel preparedModel);
42 Burst(PrivateConstructorTag tag, nn::SharedPreparedModel preparedModel);
59 const nn::SharedPreparedModel kPreparedModel;
DDevice.h65 nn::GeneralResult<nn::SharedPreparedModel> prepareModel(
72 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
78 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
DCallbacks.h46 nn::GeneralResult<nn::SharedPreparedModel> prepareModelCallback(
59 using Data = nn::GeneralResult<nn::SharedPreparedModel>;
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/
DPreparedModel.h43 explicit PreparedModel(::android::nn::SharedPreparedModel preparedModel);
66 ::android::nn::SharedPreparedModel getUnderlyingPreparedModel() const;
69 const ::android::nn::SharedPreparedModel kPreparedModel;
/hardware/interfaces/neuralnetworks/utils/common/test/
DMockDevice.h39 MOCK_METHOD(GeneralResult<SharedPreparedModel>, prepareModel,
46 MOCK_METHOD(GeneralResult<SharedPreparedModel>, prepareModelFromCache,
51 (const BufferDesc& desc, const std::vector<SharedPreparedModel>& preparedModels,
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/
DPreparedModel.h42 explicit PreparedModel(nn::SharedPreparedModel preparedModel);
69 nn::SharedPreparedModel getUnderlyingPreparedModel() const;
72 const nn::SharedPreparedModel kPreparedModel;
/hardware/interfaces/neuralnetworks/utils/common/src/
DInvalidDevice.cpp83 nn::GeneralResult<nn::SharedPreparedModel> InvalidDevice::prepareModel( in prepareModel()
93 nn::GeneralResult<nn::SharedPreparedModel> InvalidDevice::prepareModelFromCache( in prepareModelFromCache()
101 const std::vector<nn::SharedPreparedModel>& /*preparedModels*/, in allocate() argument
DResilientDevice.cpp179 nn::GeneralResult<nn::SharedPreparedModel> ResilientDevice::prepareModel( in prepareModel()
200 nn::GeneralResult<nn::SharedPreparedModel> ResilientDevice::prepareModelFromCache( in prepareModelFromCache()
216 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels, in allocate()
236 nn::GeneralResult<nn::SharedPreparedModel> ResilientDevice::prepareModelInternal( in prepareModelInternal()
253 nn::GeneralResult<nn::SharedPreparedModel> ResilientDevice::prepareModelFromCacheInternal( in prepareModelFromCacheInternal()
266 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels, in allocateInternal()
DResilientPreparedModel.cpp82 nn::SharedPreparedModel preparedModel) in ResilientPreparedModel()
88 nn::SharedPreparedModel ResilientPreparedModel::getPreparedModel() const { in getPreparedModel()
93 nn::GeneralResult<nn::SharedPreparedModel> ResilientPreparedModel::recover( in recover()
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DDevice.h64 nn::GeneralResult<nn::SharedPreparedModel> prepareModel(
71 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
77 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DDevice.h66 nn::GeneralResult<nn::SharedPreparedModel> prepareModel(
73 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
79 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
DCallbacks.h52 nn::GeneralResult<nn::SharedPreparedModel> prepareModelCallback(
66 using Data = nn::GeneralResult<nn::SharedPreparedModel>;
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DDevice.h68 nn::GeneralResult<nn::SharedPreparedModel> prepareModel(
75 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
81 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DDevice.h83 nn::GeneralResult<nn::SharedPreparedModel> prepareModel(
90 nn::GeneralResult<nn::SharedPreparedModel> prepareModelFromCache(
96 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels,
DCallbacks.h43 nn::GeneralResult<nn::SharedPreparedModel> prepareModelCallback(
56 using Data = nn::GeneralResult<nn::SharedPreparedModel>;
DBurst.h157 nn::SharedPreparedModel preparedModel, const sp<IPreparedModel>& hidlPreparedModel,
160 Burst(PrivateConstructorTag tag, nn::SharedPreparedModel preparedModel,
193 const nn::SharedPreparedModel kPreparedModel;
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DBurst.cpp33 nn::SharedPreparedModel preparedModel) { in create()
42 Burst::Burst(PrivateConstructorTag /*tag*/, nn::SharedPreparedModel preparedModel) in Burst()
DDevice.cpp143 nn::GeneralResult<nn::SharedPreparedModel> Device::prepareModel( in prepareModel()
166 nn::GeneralResult<nn::SharedPreparedModel> Device::prepareModelFromCache( in prepareModelFromCache()
175 const std::vector<nn::SharedPreparedModel>& /*preparedModels*/, in allocate() argument
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DPreparedModel.cpp137 nn::GeneralResult<void> execute(const nn::SharedPreparedModel& preparedModel, in execute()
157 nn::GeneralResult<void> execute_1_2(const nn::SharedPreparedModel& preparedModel, in execute_1_2()
178 nn::GeneralResult<void> execute_1_3(const nn::SharedPreparedModel& preparedModel, in execute_1_3()
205 const nn::SharedPreparedModel& preparedModel, const V1_0::Request& request, in executeSynchronously()
219 const nn::SharedPreparedModel& preparedModel, const V1_3::Request& request, in executeSynchronously_1_3()
251 const nn::SharedPreparedModel& preparedModel, const sp<V1_2::IBurstCallback>& callback, in configureExecutionBurst()
260 const nn::SharedPreparedModel& preparedModel, const V1_3::Request& request, in executeFenced()
283 PreparedModel::PreparedModel(nn::SharedPreparedModel preparedModel) in PreparedModel()
288 nn::SharedPreparedModel PreparedModel::getUnderlyingPreparedModel() const { in getUnderlyingPreparedModel()
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DDevice.cpp143 nn::GeneralResult<nn::SharedPreparedModel> Device::prepareModel( in prepareModel()
167 nn::GeneralResult<nn::SharedPreparedModel> Device::prepareModelFromCache( in prepareModelFromCache()
176 const std::vector<nn::SharedPreparedModel>& /*preparedModels*/, in allocate() argument
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DDevice.cpp58 const std::vector<nn::SharedPreparedModel>& preparedModels) { in convert()
187 nn::GeneralResult<nn::SharedPreparedModel> Device::prepareModel( in prepareModel()
218 nn::GeneralResult<nn::SharedPreparedModel> Device::prepareModelFromCache( in prepareModelFromCache()
238 const nn::BufferDesc& desc, const std::vector<nn::SharedPreparedModel>& preparedModels, in allocate()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DCallbacks.cpp46 nn::GeneralResult<nn::SharedPreparedModel> prepareModelCallback( in prepareModelCallback()
63 nn::GeneralResult<nn::SharedPreparedModel> prepareModelCallback( in prepareModelCallback()

12