Searched refs:OH_AI_TensorHandleArray (Results 1 – 9 of 9) sorted by relevance
/third_party/mindspore/interfaces/kits/c/ |
D | model.h | 50 typedef struct OH_AI_TensorHandleArray { struct 53 } OH_AI_TensorHandleArray; argument 66 typedef bool (*OH_AI_KernelCallBack)(const OH_AI_TensorHandleArray inputs, const OH_AI_TensorHandle… 117 OH_AI_API OH_AI_Status OH_AI_ModelResize(OH_AI_ModelHandle model, const OH_AI_TensorHandleArray inp… 130 OH_AI_API OH_AI_Status OH_AI_ModelPredict(OH_AI_ModelHandle model, const OH_AI_TensorHandleArray in… 131 … OH_AI_TensorHandleArray *outputs, const OH_AI_KernelCallBack before, 140 OH_AI_API OH_AI_TensorHandleArray OH_AI_ModelGetInputs(const OH_AI_ModelHandle model); 148 OH_AI_API OH_AI_TensorHandleArray OH_AI_ModelGetOutputs(const OH_AI_ModelHandle model); 279 OH_AI_API OH_AI_TensorHandleArray OH_AI_ModelGetWeights(OH_AI_ModelHandle model); 287 …I_Status OH_AI_ModelUpdateWeights(OH_AI_ModelHandle model, const OH_AI_TensorHandleArray new_weigh…
|
/third_party/mindspore/test/utils/ |
D | model_utils.h | 28 bool PrintBeforeCallback(const OH_AI_TensorHandleArray inputs, const OH_AI_TensorHandleArray output… 31 bool PrintAfterCallback(const OH_AI_TensorHandleArray inputs, const OH_AI_TensorHandleArray outputs, 39 void FillInputsData(OH_AI_TensorHandleArray inputs, std::string modelName, bool isTranspose); 41 void CompareResult(OH_AI_TensorHandleArray outputs, std::string modelName, float atol = 0.01, float…
|
D | model_utils.cpp | 31 bool PrintBeforeCallback(const OH_AI_TensorHandleArray inputs, const OH_AI_TensorHandleArray output… in PrintBeforeCallback() 38 bool PrintAfterCallback(const OH_AI_TensorHandleArray inputs, const OH_AI_TensorHandleArray outputs, in PrintAfterCallback() 100 void FillInputsData(OH_AI_TensorHandleArray inputs, std::string modelName, bool isTranspose) { in FillInputsData() 141 void CompareResult(OH_AI_TensorHandleArray outputs, std::string modelName, float atol, float rtol) { in CompareResult() 181 OH_AI_TensorHandleArray inputs = OH_AI_ModelGetInputs(model); in ModelPredict() 191 OH_AI_TensorHandleArray outputs; in ModelPredict() 233 OH_AI_TensorHandleArray inputs = OH_AI_ModelGetInputs(model); in ModelTrain()
|
/third_party/mindspore/test/unittest/ |
D | mindspore_unit_test.cpp | 296 OH_AI_TensorHandleArray inputs = OH_AI_ModelGetInputs(model); 297 OH_AI_TensorHandleArray output; 303 OH_AI_TensorHandleArray outputs = OH_AI_ModelGetOutputs(model); 389 OH_AI_TensorHandleArray inputs = OH_AI_ModelGetInputs(model); 391 OH_AI_TensorHandleArray outputs; 419 OH_AI_TensorHandleArray inputs = OH_AI_ModelGetInputs(model); 423 OH_AI_TensorHandleArray outputs; 569 OH_AI_TensorHandleArray inputs = OH_AI_ModelGetInputs(model); 619 OH_AI_TensorHandleArray update_weights = {1, vec_inputs.data()}; 623 OH_AI_TensorHandleArray inputs = OH_AI_ModelGetInputs(model); [all …]
|
D | nnrt_delegate_unit_test.cpp | 157 OH_AI_TensorHandleArray inputs = OH_AI_ModelGetInputs(model); 171 OH_AI_TensorHandleArray outputs; 198 OH_AI_TensorHandleArray inputs = OH_AI_ModelGetInputs(model); 202 OH_AI_TensorHandleArray outputs;
|
/third_party/mindspore/test/fuzztest/mindspore_fuzzer/ |
D | mindspore_fuzzer.cpp | 267 OH_AI_TensorHandleArray outputs = {0, nullptr}; in MSModelFuzzTest_Null()
|
/third_party/mindspore/patches/ |
D | 0010-micro-dynamic-shape-support-discrete-value.patch | 283 ofs << " OH_AI_TensorHandleArray outputs = OH_AI_ModelGetOutputs(model);\n"; 300 @@ -196,6 +199,22 @@ int CompareOutputs(OH_AI_TensorHandleArray outputs, CalibTensor **calib_tensor…
|
D | 0004-cross-compile-ndkso-fp16-nnrt-train_capi.patch | 237 typedef struct OH_AI_TensorHandleArray { 336 +OH_AI_API OH_AI_TensorHandleArray OH_AI_ModelGetWeights(OH_AI_ModelHandle model); 343 …I_Status OH_AI_ModelUpdateWeights(OH_AI_ModelHandle model, const OH_AI_TensorHandleArray new_weigh… 3101 - OH_AI_TensorHandleArray inputs = {op_input_num, op_inputs.data()}; 3102 - OH_AI_TensorHandleArray outputs = {op_output_num, op_outputs.data()}; 3126 - OH_AI_TensorHandleArray inputs = {op_input_num, op_inputs.data()}; 3127 - OH_AI_TensorHandleArray outputs = {op_output_num, op_outputs.data()}; 3204 + OH_AI_TensorHandleArray handle_inputs = {inputs_handle_num, vec_inputs.data()}; 3205 + OH_AI_TensorHandleArray handle_outputs = {outputs_handle_num, vec_outputs.data()}; 3280 OH_AI_Status OH_AI_ModelResize(OH_AI_ModelHandle model, const OH_AI_TensorHandleArray inputs, [all …]
|
D | 0005-micro-for-ohos.patch | 10841 + OH_AI_TensorHandleArray inputs; 10842 + OH_AI_TensorHandleArray outputs; 10888 +void OH_AI_TensorHandleArrayDestroy(OH_AI_TensorHandleArray inputs) { 10959 + const OH_AI_TensorHandleArray inputs, 10960 + OH_AI_TensorHandleArray *outputs, 11099 + ofs << " OH_AI_TensorHandleArray model_inputs;\n"; 11111 + ofs << " OH_AI_TensorHandleArray model_outputs;\n"; 11248 + << "(OH_AI_ModelHandle model, const OH_AI_TensorHandleArray inputs, OH_AI_ShapeInfo *shape_i… 11316 + ofs << " OH_AI_TensorHandleArray outputs = OH_AI_ModelGetOutputs(model);\n"; 11397 …H_AI_ModelPredict(OH_AI_ModelHandle model, const OH_AI_TensorHandleArray inputs, OH_AI_TensorHandl… [all …]
|