Lines Matching refs:OH_NNModel
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…
67 | OH_NN_ReturnCode OH_NNModel_AddOperation(OH_NNModel *model, OH_NN_OperationType op, const OH_NN_U…
68 | OH_NN_ReturnCode OH_NNModel_SpecifyInputsAndOutputs(OH_NNModel *model, const OH_NN_UInt32Array *i…
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,
551 OH_NNModel* model = nullptr;