Searched refs:handle_num (Results 1 – 7 of 7) sorted by relevance
/third_party/mindspore/test/utils/ |
D | model_utils.cpp | 101 for (size_t i = 0; i < inputs.handle_num; ++i) { in FillInputsData() 143 for (size_t i = 0; i < outputs.handle_num; ++i) { in CompareResult() 185 OH_AI_Status resize_ret = OH_AI_ModelResize(model, inputs, &shapeInfos, inputs.handle_num); in ModelPredict() 237 OH_AI_Status resize_ret = OH_AI_ModelResize(model, inputs, &shapeInfos, inputs.handle_num); in ModelTrain()
|
/third_party/mindspore/patches/ |
D | 0009-npu-zero-copy.patch | 94 + auto handle_num = outputs->handle_num; 95 + if (handle_num == output_num) { 121 + if (handle_num == output_num && all_has_data) { 125 …puts->handle_list = reinterpret_cast<OH_AI_TensorHandle *>(impl->GetOutputs(&outputs->handle_num));
|
D | 0004-cross-compile-ndkso-fp16-nnrt-train_capi.patch | 238 size_t handle_num; 3288 - std::transform(inputs.handle_list, inputs.handle_list + inputs.handle_num, std::back_inserter(ve… 3291 + for (size_t i = 0; i < inputs.handle_num; ++i) { 3319 + for (size_t i = 0; i < inputs.handle_num; i++) { 3325 …ret = impl->Predict(inputs.handle_list, inputs.handle_num, &(outputs->handle_list), &(outputs->han… 3335 …puts->handle_list = reinterpret_cast<OH_AI_TensorHandle *>(impl->GetOutputs(&outputs->handle_num)); 3560 + size_t handle_num = features.size(); 3563 + handle_num * sizeof(mindspore::MSTensor *))); 3568 + for (size_t i = 0; i < handle_num; i++) { 3571 + return {handle_num, reinterpret_cast<OH_AI_TensorHandle *>(handle_list)}; [all …]
|
D | 0005-micro-for-ohos.patch | 10869 - for (size_t i = 0; i < inputs.handle_num; i++) { 10892 + for (size_t i = 0; i < inputs.handle_num; i++) { 10922 if (micro_model->inputs.handle_num != GRAPH_INPUTS_SIZE) { 11100 ofs << " model_inputs.handle_num = " << inputs_size << ";\n"; 11112 ofs << " model_outputs.handle_num = " << outputs_size << ";\n"; 11431 ofs << " if (inputs.handle_num != " << inputs_num << ") {\n"; 11435 ofs << " if (outputs->handle_num != " << outputs_num << ") {\n"; 11845 size_t inputs_num = inputs_handle.handle_num; 11926 for (size_t i = 0; i < outputs_handle.handle_num; i++) { 12037 if (outputs.handle_num != (size_t)calib_num) { [all …]
|
/third_party/mindspore/interfaces/kits/c/ |
D | model.h | 51 size_t handle_num; member
|
/third_party/mindspore/test/unittest/ |
D | nnrt_delegate_unit_test.cpp | 159 for (size_t i = 0; i < inputs.handle_num; ++i) {
|
D | mindspore_unit_test.cpp | 304 for (size_t i = 0; i < outputs.handle_num; ++i) { 656 for (size_t i = 0; i < get_update_weights.handle_num; ++i) { 695 for (size_t i = 0; i < export_update_weights.handle_num; ++i) {
|