Home
last modified time | relevance | path

Searched refs:handle_list (Results 1 – 17 of 17) sorted by relevance

/third_party/mindspore/mindspore/lite/examples/quick_start_c/
Dmain.c23 float *input_data = (float *)OH_AI_TensorGetMutableData(inputs.handle_list[i]); in GenerateInputDataWithRandom()
28 int64_t num = OH_AI_TensorGetElementNum(inputs.handle_list[i]); in GenerateInputDataWithRandom()
80 if (inputs.handle_list == NULL) { in QuickStart()
104 OH_AI_TensorHandle tensor = outputs.handle_list[i]; in QuickStart()
/third_party/mindspore/mindspore/lite/test/ut/src/api/
Dmodel_c_test.cc69 float *input_data = (float *)OH_AI_TensorGetMutableData(inputs.handle_list[i]); in GenerateInputDataWithRandom()
74 int64_t num = OH_AI_TensorGetElementNum(inputs.handle_list[i]); in GenerateInputDataWithRandom()
147 if (inputs.handle_list == nullptr) { in TEST_F()
150 ASSERT_NE(inputs.handle_list, nullptr); in TEST_F()
176 OH_AI_TensorHandle tensor = inputs.handle_list[i]; in TEST_F()
189 OH_AI_TensorHandle tensor = outputs.handle_list[i]; in TEST_F()
/third_party/mindspore/mindspore/lite/test/ohos_test/src/
Dmodel_test.cc85 float *input_data = (float *)OH_AI_TensorGetMutableData(inputs.handle_list[i]); in GenerateInputDataWithRandom()
90 int64_t num = OH_AI_TensorGetElementNum(inputs.handle_list[i]); in GenerateInputDataWithRandom()
178 if (inputs.handle_list == nullptr) {
181 EXPECT_NE(inputs.handle_list, nullptr);
207 OH_AI_TensorHandle tensor = inputs.handle_list[i];
219 OH_AI_TensorHandle tensor = outputs.handle_list[i];
/third_party/mindspore/mindspore/lite/tools/benchmark/
Dbenchmark_c_api.cc43 if (inputs_.handle_list == nullptr) { in RunBenchmark()
123 OH_AI_TensorHandle tensor = inputs_.handle_list[i]; in GenerateInputData()
143 OH_AI_TensorHandle tensor = inputs_.handle_list[i]; in ReadInputFile()
350 auto input = inputs_.handle_list[i]; in PrintInputData()
/third_party/mindspore/include/sdk_api/
Dmodel.h63 OH_AI_TensorHandle *handle_list; member
/third_party/glib/gio/
Dgio-tool.h41 int handle_list (int argc, char *argv[], gboolean do_help);
Dgio-tool-list.c160 handle_list (int argc, char *argv[], gboolean do_help) in handle_list() function
Dgio-tool.c319 return handle_list (argc, argv, do_help); in main()
Dxdp-dbus.h91 gboolean (*handle_list) ( member
Dxdp-dbus.c1224 G_STRUCT_OFFSET (GXdpDocumentsIface, handle_list), in G_DEFINE_INTERFACE()
/third_party/mindspore/include/c_api/
Dmodel_c.h31 OH_AI_TensorHandle *handle_list; member
/third_party/mindspore/mindspore/lite/src/c_api/
Dmodel_c.cc352 …std::transform(inputs.handle_list, inputs.handle_list + inputs.handle_num, std::back_inserter(vec_… in OH_AI_ModelResize()
372 …auto ret = impl->Predict(inputs.handle_list, inputs.handle_num, &(outputs->handle_list), &(outputs… in OH_AI_ModelPredict()
/third_party/python/Modules/
D_winapi.c937 LPHANDLE handle_list; member
948 PyMem_Free(attribute_list->handle_list); in freeattributelist()
981 attribute_list->handle_list = gethandlelist(value, "handle_list", &handle_list_size); in getattributelist()
982 if (attribute_list->handle_list == NULL && PyErr_Occurred()) { in getattributelist()
987 if (attribute_list->handle_list != NULL) in getattributelist()
1021 if (attribute_list->handle_list != NULL) { in getattributelist()
1026 attribute_list->handle_list, in getattributelist()
/third_party/libdrm/freedreno/kgsl/
Dkgsl_drm.h172 uint32_t *handle_list; member
/third_party/python/Lib/
Dsubprocess.py1336 def _filter_handle_list(self, handle_list): argument
1343 return list({handle for handle in handle_list
1404 handle_list = attribute_list["handle_list"] = \
1408 handle_list += [int(p2cread), int(c2pwrite), int(errwrite)]
1410 handle_list[:] = self._filter_handle_list(handle_list)
1412 if handle_list:
/third_party/python/Lib/test/
Dtest_subprocess.py3379 handle_list = []
3381 startupinfo.lpAttributeList = {"handle_list": handle_list}
/third_party/python/Doc/library/
Dsubprocess.rst525 child process unless explicitly passed in the ``handle_list`` element of
962 **handle_list**