Home
last modified time | relevance | path

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

/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnnbackend.cpp125 if (compilation->nnModel == nullptr) { in CreateCompiler()
128 nnCompiler = new (std::nothrow) NNCompiler(compilation->nnModel, m_device, m_backendID); in CreateCompiler()
H A Dneural_network_runtime.cpp227 OH_NNModel *nnModel = reinterpret_cast<OH_NNModel*>(innerModel); in OH_NNModel_Construct() local
228 return nnModel; in OH_NNModel_Construct()
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
H A Dcompilation.h31 void* nnModel {nullptr};
H A Dneural_network_core.cpp128 compilation->nnModel = const_cast<void*>(reinterpret_cast<const void*>(model)); in OH_NNCompilation_Construct()
508 if (compilation->nnModel != nullptr) { in CheckExceedRamLimit()
509 ret = nnrtService.CheckModelSizeFromModel(compilation->nnModel, isExceedRamLimit); in CheckExceedRamLimit()
630 if (compilationImpl->nnModel != nullptr) { in GetNnrtModelId()
634 … compilationImpl->nnrtModelID = nnrtService.GetNNRtModelIDFromModel(compilationImpl->nnModel); in GetNnrtModelId()
710 if (((compilationImpl->nnModel != nullptr) && (compilationImpl->offlineModelPath != nullptr)) || in OH_NNCompilation_Build()
711 ((compilationImpl->nnModel != nullptr) && in OH_NNCompilation_Build()
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/
H A Dnnrt_op_builder.h48 OH_NNModel* nnModel {nullptr};
H A Dnnrt_delegate_kernel.cpp235 .nnModel = m_nnModel, in AddOpsAndTensors()
H A Dnnrt_op_builder.cpp39 m_nnModel(opBuilderArgs.nnModel), in NnrtOpBuilder()