/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 281 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 295 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 334 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 361 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 388 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 415 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 457 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 474 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 492 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 528 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/ |
H A D | neural_network_runtime.h | 154 OH_NNModel *OH_NNModel_Construct(void); 182 OH_NN_ReturnCode OH_NNModel_AddTensorToModel(OH_NNModel *model, const NN_TensorDesc *tensorDesc); 201 OH_NN_ReturnCode OH_NNModel_SetTensorData(OH_NNModel *model, uint32_t index, const void *dataBuffer… 215 OH_NN_ReturnCode OH_NNModel_SetTensorQuantParams(OH_NNModel *model, uint32_t index, NN_QuantParam *… 229 OH_NN_ReturnCode OH_NNModel_SetTensorType(OH_NNModel *model, uint32_t index, OH_NN_TensorType tenso… 262 OH_NN_ReturnCode OH_NNModel_AddOperation(OH_NNModel *model, 288 OH_NN_ReturnCode OH_NNModel_SpecifyInputsAndOutputs(OH_NNModel *model, 311 OH_NN_ReturnCode OH_NNModel_Finish(OH_NNModel *model); 327 void OH_NNModel_Destroy(OH_NNModel **model); 355 OH_NN_ReturnCode OH_NNModel_GetAvailableOperations(OH_NNModel *model, [all …]
|
H A D | neural_network_runtime_type.h | 60 typedef struct OH_NNModel OH_NNModel; typedef
|
H A D | neural_network_core.h | 73 OH_NNCompilation *OH_NNCompilation_Construct(const OH_NNModel *model);
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/ |
H A D | nnrt_implementation.h | 37 OH_NNModel* (*OH_NNModel_Construct)(void); 38 OH_NN_ReturnCode (*OH_NNModel_AddTensor)(OH_NNModel* model, const OH_NN_Tensor* nnTensor); 39 …OH_NN_ReturnCode (*OH_NNModel_SetTensorData)(OH_NNModel* model, uint32_t index, const void* buffer, 41 OH_NN_ReturnCode (*OH_NNModel_AddOperation)(OH_NNModel* model, OH_NN_OperationType op, 44 …OH_NN_ReturnCode (*OH_NNModel_SpecifyInputsAndOutputs)(OH_NNModel* model, const OH_NN_UInt32Array*… 46 OH_NN_ReturnCode (*OH_NNModel_Finish)(OH_NNModel* model); 47 void (*OH_NNModel_Destroy)(OH_NNModel** model); 48 …OH_NN_ReturnCode (*OH_NNModel_GetAvailableOperations)(OH_NNModel* model, size_t deviceID, const bo… 51 OH_NNCompilation* (*OH_NNCompilation_Construct)(const OH_NNModel* model);
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 334 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 348 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 387 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 414 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 441 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 468 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 510 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 527 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 545 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 581 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/inner_kits/ |
H A D | neural_network_runtime_inner_test.cpp | 47 OH_NNModel* model = nullptr; 67 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(innerModel); 86 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(innerModel); 121 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(innerModel); 145 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(innerModel); 202 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(innerModel); 276 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(innerModel); 295 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(innerModel); 334 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(innerModel); 356 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(innerModel);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime_8h.md | 33 …OH_NNModel](_neural_network_runtime.md#oh_nnmodel) \* [OH_NNModel_Construct](_neural_network_runti… 34 …nsorToModel](_neural_network_runtime.md#oh_nnmodel_addtensortomodel) ([OH_NNModel](_neural_network… 35 …_SetTensorData](_neural_network_runtime.md#oh_nnmodel_settensordata) ([OH_NNModel](_neural_network… 36 …tParams](_neural_network_runtime.md#oh_nnmodel_settensorquantparams) ([OH_NNModel](_neural_network… 37 …_SetTensorType](_neural_network_runtime.md#oh_nnmodel_settensortype) ([OH_NNModel](_neural_network… 38 …el_AddOperation](_neural_network_runtime.md#oh_nnmodel_addoperation) ([OH_NNModel](_neural_network… 39 …puts](_neural_network_runtime.md#oh_nnmodel_specifyinputsandoutputs) ([OH_NNModel](_neural_network… 40 …de)[OH_NNModel_Finish](_neural_network_runtime.md#oh_nnmodel_finish) ([OH_NNModel](_neural_network… 41 | void [OH_NNModel_Destroy](_neural_network_runtime.md#oh_nnmodel_destroy) ([OH_NNModel](_neural_ne… 42 …tions](_neural_network_runtime.md#oh_nnmodel_getavailableoperations) ([OH_NNModel](_neural_network… [all …]
|
H A D | _neural_network_runtime.md | 37 | typedef struct [OH_NNModel](#oh_nnmodel) [OH_NNModel](#oh_nnmodel) | 模型句柄。 | 134 | [OH_NNModel](#oh_nnmodel) \* [OH_NNModel_Construct](#oh_nnmodel_construct) (void) | 创建[OH_NNModel… 458 ### OH_NNModel subsection 461 typedef struct OH_NNModel OH_NNModel 1027 | model | 指向[OH_NNModel](#oh_nnmodel)实例的指针。 | 2063 | model | 指向[OH_NNModel](#oh_nnmodel)实例的指针。 | 2094 | model | 指向[OH_NNModel](#oh_nnmodel)实例的指针。 | 2122 | model | 指向[OH_NNModel](#oh_nnmodel)实例的指针。 | 2133 OH_NNModel *OH_NNModel_Construct (void ) 2138 创建[OH_NNModel](#oh_nnmodel)类型的模型实例,搭配OH_NNModel模块提供的其他接口,完成模型实例的构造。 [all …]
|
H A D | _neural_nework_runtime.md | 37 | typedef struct [OH_NNModel](#oh_nnmodel) [OH_NNModel](#oh_nnmodel) | 模型句柄。 | 134 | [OH_NNModel](#oh_nnmodel) \* [OH_NNModel_Construct](#oh_nnmodel_construct) (void) | 创建[OH_NNModel… 458 ### OH_NNModel subsection 461 typedef struct OH_NNModel OH_NNModel 1027 | model | 指向[OH_NNModel](#oh_nnmodel)实例的指针。 | 2063 | model | 指向[OH_NNModel](#oh_nnmodel)实例的指针。 | 2094 | model | 指向[OH_NNModel](#oh_nnmodel)实例的指针。 | 2122 | model | 指向[OH_NNModel](#oh_nnmodel)实例的指针。 | 2133 OH_NNModel *OH_NNModel_Construct (void ) 2138 创建[OH_NNModel](#oh_nnmodel)类型的模型实例,搭配OH_NNModel模块提供的其他接口,完成模型实例的构造。 [all …]
|
H A D | neural__network__runtime__type_8h.md | 36 | typedef struct [OH_NNModel](_neural_network_runtime.md#oh_nnmodel) [OH_NNModel](_neural_network_…
|
H A D | neural__network__core_8h.md | 28 …struct](_neural_network_runtime.md#oh_nncompilation_construct) (const [OH_NNModel](_neural_network…
|
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime_8h.md | 33 …OH_NNModel](_neural_network_runtime.md#oh_nnmodel) \* [OH_NNModel_Construct](_neural_network_runti… 34 …nsorToModel](_neural_network_runtime.md#oh_nnmodel_addtensortomodel) ([OH_NNModel](_neural_network… 35 …_SetTensorData](_neural_network_runtime.md#oh_nnmodel_settensordata) ([OH_NNModel](_neural_network… 36 …tParams](_neural_network_runtime.md#oh_nnmodel_settensorquantparams) ([OH_NNModel](_neural_network… 37 …_SetTensorType](_neural_network_runtime.md#oh_nnmodel_settensortype) ([OH_NNModel](_neural_network… 38 …el_AddOperation](_neural_network_runtime.md#oh_nnmodel_addoperation) ([OH_NNModel](_neural_network… 39 …puts](_neural_network_runtime.md#oh_nnmodel_specifyinputsandoutputs) ([OH_NNModel](_neural_network… 40 …de)[OH_NNModel_Finish](_neural_network_runtime.md#oh_nnmodel_finish) ([OH_NNModel](_neural_network… 41 | void [OH_NNModel_Destroy](_neural_network_runtime.md#oh_nnmodel_destroy) ([OH_NNModel](_neural_ne… 42 …tions](_neural_network_runtime.md#oh_nnmodel_getavailableoperations) ([OH_NNModel](_neural_network… [all …]
|
H A D | neural__network__runtime__type_8h.md | 36 | typedef struct [OH_NNModel](_neural_network_runtime.md#oh_nnmodel) [OH_NNModel](_neural_network_…
|
H A D | _neural_network_runtime.md | 37 | typedef struct [OH_NNModel](#oh_nnmodel) [OH_NNModel](#oh_nnmodel) | Model handle.| 134 …OH_NNModel](#oh_nnmodel) \* [OH_NNModel_Construct](#oh_nnmodel_construct) (void) | Creates a model… 458 ### OH_NNModel subsection 461 typedef struct OH_NNModel OH_NNModel 1027 | model | Pointer to the [OH_NNModel](#oh_nnmodel) instance.| 2063 | model | Pointer to the [OH_NNModel](#oh_nnmodel) instance.| 2094 | model | Pointer to the [OH_NNModel](#oh_nnmodel) instance.| 2133 OH_NNModel *OH_NNModel_Construct (void ) 2138 … model instance of the [OH_NNModel](#oh_nnmodel) type and constructs a model instance by using the… 2154 void OH_NNModel_Destroy (OH_NNModel **model) [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | neural_network_runtime.cpp | 156 OH_NN_ReturnCode OH_NNModel_AddTensorToModel(OH_NNModel* model, const NN_TensorDesc* tensorDesc) in OH_NNModel_AddTensorToModel() 219 NNRT_API OH_NNModel *OH_NNModel_Construct(void) in OH_NNModel_Construct() 227 OH_NNModel *nnModel = reinterpret_cast<OH_NNModel*>(innerModel); in OH_NNModel_Construct() 231 NNRT_API OH_NN_ReturnCode OH_NNModel_AddOperation(OH_NNModel *model, in OH_NNModel_AddOperation() 261 NNRT_API OH_NN_ReturnCode OH_NNModel_SetTensorData(OH_NNModel *model, in OH_NNModel_SetTensorData() 285 NNRT_API OH_NN_ReturnCode OH_NNModel_SpecifyInputsAndOutputs(OH_NNModel *model, in OH_NNModel_SpecifyInputsAndOutputs() 308 NNRT_API OH_NN_ReturnCode OH_NNModel_Finish(OH_NNModel *model) in OH_NNModel_Finish() 494 NNRT_API OH_NN_ReturnCode OH_NNModel_BuildFromLiteGraph(OH_NNModel *model, const void *liteGraph, in OH_NNModel_BuildFromLiteGraph() 625 NNRT_API OH_NN_ReturnCode OH_NNModel_BuildFromMetaGraph(OH_NNModel *model, const void *metaGraph, in OH_NNModel_BuildFromMetaGraph() 683 NNRT_API void OH_NNModel_Destroy(OH_NNModel **model) in OH_NNModel_Destroy() [all …]
|
H A D | neural_network_runtime_compat.cpp | 29 NNRT_API OH_NN_ReturnCode OH_NNModel_AddTensor(OH_NNModel *model, const OH_NN_Tensor *tensor) in OH_NNModel_AddTensor()
|
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/innerkits/c/ |
H A D | neural_network_runtime_inner.h | 75 OH_NN_ReturnCode OH_NNModel_BuildFromLiteGraph(OH_NNModel *model, const void *liteGraph, 101 OH_NN_ReturnCode OH_NNModel_SetInputsAndOutputsInfo(OH_NNModel *model, const OH_NN_TensorInfo *inpu… 128 OH_NN_ReturnCode OH_NNModel_BuildFromMetaGraph(OH_NNModel *model, const void *metaGraph,
|
/ohos5.0/foundation/ai/neural_network_runtime/ |
H A D | neural-network-runtime-guidelines.md | 53 | typedef struct OH_NNModel OH_NNModel | Neural Network Runtime的模型句柄,用于构造模型。 | 64 | OH_NNModel_Construct() | 创建OH_NNModel类型的模型实例。 | 65 | OH_NN_ReturnCode OH_NNModel_AddTensorToModel(OH_NNModel *model, const NN_TensorDesc *tensorDesc) … 69 | OH_NN_ReturnCode OH_NNModel_Finish(OH_NNModel *model) | 完成模型构图。| 70 | void OH_NNModel_Destroy(OH_NNModel **model) | 销毁模型实例。 | 77 | OH_NNCompilation *OH_NNCompilation_Construct(const OH_NNModel *model) | 基于模型实例创建OH_NNCompilation类… 285 OH_NN_ReturnCode BuildModel(OH_NNModel** pmodel) 288 OH_NNModel* model = OH_NNModel_Construct(); 427 … OH_NN_ReturnCode CreateCompilation(OH_NNModel* model, const std::vector<size_t>& availableDevice, 560 OH_NNModel* model = nullptr; [all …]
|
/ohos5.0/docs/zh-cn/application-dev/ai/nnrt/ |
H A D | neural-network-runtime-guidelines.md | 53 | typedef struct OH_NNModel OH_NNModel | Neural Network Runtime的模型句柄,用于构造模型。 | 64 | OH_NNModel_Construct() | 创建OH_NNModel类型的模型实例。 | 65 | OH_NN_ReturnCode OH_NNModel_AddTensorToModel(OH_NNModel *model, const NN_TensorDesc *tensorDesc) … 66 | OH_NN_ReturnCode OH_NNModel_SetTensorData(OH_NNModel *model, uint32_t index, const void *dataBuff… 69 | OH_NN_ReturnCode OH_NNModel_Finish(OH_NNModel *model) | 完成模型构图。| 70 | void OH_NNModel_Destroy(OH_NNModel **model) | 销毁模型实例。 | 77 | OH_NNCompilation *OH_NNCompilation_Construct(const OH_NNModel *model) | 基于模型实例创建OH_NNCompilation类… 276 OH_NN_ReturnCode BuildModel(OH_NNModel** pmodel) 279 OH_NNModel* model = OH_NNModel_Construct(); 418 … OH_NN_ReturnCode CreateCompilation(OH_NNModel* model, const std::vector<size_t>& availableDevice, [all …]
|
/ohos5.0/docs/en/application-dev/ai/nnrt/ |
H A D | neural-network-runtime-guidelines.md | 53 | typedef struct OH_NNModel OH_NNModel | Model handle of NNRt. It is used to construct a model.| 64 | OH_NNModel_Construct() | Creates a model instance of the OH_NNModel type.| 65 | OH_NN_ReturnCode OH_NNModel_AddTensorToModel(OH_NNModel *model, const NN_TensorDesc *tensorDesc) … 66 | OH_NN_ReturnCode OH_NNModel_SetTensorData(OH_NNModel *model, uint32_t index, const void *dataBuff… 69 | OH_NN_ReturnCode OH_NNModel_Finish(OH_NNModel *model) | Completes model composition.| 70 | void OH_NNModel_Destroy(OH_NNModel **model) | Destroys a model instance.| 77 | OH_NNCompilation *OH_NNCompilation_Construct(const OH_NNModel *model) | Creates an **OH_NNCompila… 276 OH_NN_ReturnCode BuildModel(OH_NNModel** pmodel) 279 OH_NNModel* model = OH_NNModel_Construct(); 418 … OH_NN_ReturnCode CreateCompilation(OH_NNModel* model, const std::vector<size_t>& availableDevice, [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/ |
H A D | nnrt_delegate_kernel.h | 91 OH_NNModel* m_nnModel;
|
H A D | nnrt_op_builder.h | 48 OH_NNModel* nnModel {nullptr}; 302 OH_NNModel* const m_nnModel;
|
/ohos5.0/foundation/ai/neural_network_runtime/test/system_test/common/ |
H A D | nnrt_test.h | 74 OH_NNModel* m_model{nullptr};
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/ |
H A D | neural_network_core_test.cpp | 352 const OH_NNModel* model = nullptr; 364 const OH_NNModel* model = OH_NNModel_Construct(); 906 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel); 2389 OH_NNModel* model = reinterpret_cast<OH_NNModel*>(&innerModel);
|