Home
last modified time | relevance | path

Searched refs:iModel (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dhdi_device_v1_0.cpp168 auto iModel = V1::LiteGraph_To_HDIModel(model.get(), tensorBuffer); in GetSupportedOperation() local
169 if (iModel == nullptr) { in GetSupportedOperation()
175 hdiRet = m_iDevice->GetSupportedOperation(*iModel, ops); in GetSupportedOperation()
177 V1::HDIModel_Destroy(&iModel); in GetSupportedOperation()
259 V1_0::Model* iModel = V1::LiteGraph_To_HDIModel(model.get(), tensorBuffer); in PrepareModel() local
260 if (iModel == nullptr) { in PrepareModel()
272 auto preparedRet = m_iDevice->PrepareModel(*iModel, iModelConfig, iPreparedModel); in PrepareModel()
274 V1::HDIModel_Destroy(&iModel); in PrepareModel()
H A Dhdi_device_v2_0.cpp218 auto iModel = V2::LiteGraph_To_HDIModel(model.get(), tensorBuffer); in GetSupportedOperation() local
219 if (iModel == nullptr) { in GetSupportedOperation()
225 ret = m_iDevice->GetSupportedOperation(*iModel, ops); in GetSupportedOperation()
227 V2::HDIModel_Destroy(&iModel); in GetSupportedOperation()
302 V2_0::Model* iModel = V2::LiteGraph_To_HDIModel(model.get(), tensorBuffer); in PrepareModel() local
303 if (iModel == nullptr) { in PrepareModel()
315 ret = m_iDevice->PrepareModel(*iModel, iModelConfig, iPreparedModel); in PrepareModel()
317 V2::HDIModel_Destroy(&iModel); in PrepareModel()
H A Dhdi_device_v2_1.cpp213 auto iModel = NNRt_V2_1::LiteGraph_To_HDIModel(model.get(), tensorBuffer); in GetSupportedOperation() local
214 if (iModel == nullptr) { in GetSupportedOperation()
220 ret = m_iDevice->GetSupportedOperation(*iModel, ops); in GetSupportedOperation()
222 NNRt_V2_1::HDIModel_Destroy(&iModel); in GetSupportedOperation()
297 V2_1::Model* iModel = NNRt_V2_1::LiteGraph_To_HDIModel(model.get(), tensorBuffer); in PrepareModel() local
298 if (iModel == nullptr) { in PrepareModel()
310 ret = m_iDevice->PrepareModel(*iModel, iModelConfig, iPreparedModel); in PrepareModel()
312 NNRt_V2_1::HDIModel_Destroy(&iModel); in PrepareModel()