Lines Matching refs:OH_NNCompilation
54 | typedef struct OH_NNCompilation OH_NNCompilation | Compiler handle of NNRt. It is used to compile…
77 | OH_NNCompilation *OH_NNCompilation_Construct(const OH_NNModel *model) | Creates an **OH_NNCompila…
78 | OH_NNCompilation *OH_NNCompilation_ConstructWithOfflineModelFile(const char *modelPath) | Creates…
79 | OH_NNCompilation *OH_NNCompilation_ConstructWithOfflineModelBuffer(const void *modelBuffer, size_…
80 | OH_NNCompilation *OH_NNCompilation_ConstructForCache() | Creates an empty model building instance…
81 | OH_NN_ReturnCode OH_NNCompilation_ExportCacheToBuffer(OH_NNCompilation *compilation, const void *…
82 | OH_NN_ReturnCode OH_NNCompilation_ImportCacheFromBuffer(OH_NNCompilation *compilation, const void…
83 | OH_NN_ReturnCode OH_NNCompilation_AddExtensionConfig(OH_NNCompilation *compilation, const char *c…
84 | OH_NN_ReturnCode OH_NNCompilation_SetDevice(OH_NNCompilation *compilation, size_t deviceID) | Set…
85 | OH_NN_ReturnCode OH_NNCompilation_SetCache(OH_NNCompilation *compilation, const char *cachePath, …
86 | OH_NN_ReturnCode OH_NNCompilation_SetPerformanceMode(OH_NNCompilation *compilation, OH_NN_Perform…
87 | OH_NN_ReturnCode OH_NNCompilation_SetPriority(OH_NNCompilation *compilation, OH_NN_Priority prior…
88 | OH_NN_ReturnCode OH_NNCompilation_EnableFloat16(OH_NNCompilation *compilation, bool enableFloat16…
89 | OH_NN_ReturnCode OH_NNCompilation_Build(OH_NNCompilation *compilation) | Performs model building.|
90 | void OH_NNCompilation_Destroy(OH_NNCompilation **compilation) | Destroys a model building instanc…
127 | OH_NNExecutor *OH_NNExecutor_Construct(OH_NNCompilation *compilation) | Creates an **OH_NNExecuto…
419 OH_NNCompilation** pCompilation)
421 …// Create an OH_NNCompilation instance and pass the image composition model instance or the MindSp…
422 OH_NNCompilation* compilation = OH_NNCompilation_Construct(model);
459 OH_NNExecutor* CreateExecutor(OH_NNCompilation* compilation)
461 // Create an executor based on the specified OH_NNCompilation instance.
552 OH_NNCompilation* compilation = nullptr;