/test/xts/acts/ai/nncore/nncoretest/src/ |
H A D | HdiTensorTest.cpp | 57 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, nullptr); in HWTEST_F() local 71 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); in HWTEST_F() local 88 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); in HWTEST_F() local 104 NN_Tensor* tensor = OH_NNTensor_CreateWithSize(deviceId, nullptr, size); in HWTEST_F() local 120 NN_Tensor* tensor = OH_NNTensor_CreateWithSize(deviceId, tensorDesc, size); HWTEST_F() local 139 NN_Tensor* tensor = OH_NNTensor_CreateWithSize(deviceId, tensorDesc, size); HWTEST_F() local 156 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); HWTEST_F() local 181 NN_Tensor* tensor = OH_NNTensor_CreateWithFd(deviceId, tensorDesc, fd, size, offset); HWTEST_F() local 197 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); HWTEST_F() local 222 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); HWTEST_F() local 249 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); HWTEST_F() local 276 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); HWTEST_F() local 314 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); HWTEST_F() local 338 NN_Tensor* tensor = nullptr; HWTEST_F() local 363 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); HWTEST_F() local 392 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); HWTEST_F() local 414 NN_Tensor* tensor = OH_NNTensor_CreateWithSize(deviceId, tensorDesc, size); HWTEST_F() local 433 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); HWTEST_F() local 476 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); HWTEST_F() local 506 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); HWTEST_F() local 529 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); HWTEST_F() local [all...] |
/test/xts/hats/ai/nnrt/hdi/v1_0/nnrtFunctionTest/src/ |
H A D | hdi_model_run_test.cpp | 67 auto tensor = HDICommon::CreateIOTensor(device_); in AddModelTest() local 221 auto tensor = HDICommon::CreateIOTensor(device_); in HWTEST_F() local 390 auto tensor = HDICommon::CreateIOTensor(device_); in HWTEST_F() local
|
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest/src/ |
H A D | hdi_model_run_test.cpp | 66 auto tensor = HDICommon::CreateIOTensor(device_); in AddModelTest() local 219 auto tensor = HDICommon::CreateIOTensor(device_); in HWTEST_F() local 390 auto tensor = HDICommon::CreateIOTensor(device_); in HWTEST_F() local
|
H A D | hdi_model_prepare_test.cpp | 668 auto tensor = HDICommon::CreateIOTensor(device_); in HWTEST_F() local
|
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest_additional/src/ |
H A D | hdi_model_prepare_test.cpp | 420 auto tensor = HDICommon::CreateIOTensor(device_); in HWTEST_F() local 484 auto tensor = HDICommon::CreateIOTensor(device_); in HWTEST_F() local 548 auto tensor = HDICommon::CreateIOTensor(device_); in HWTEST_F() local 612 auto tensor in HWTEST_F() local 676 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 740 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 804 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 868 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 932 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 996 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 1060 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 1124 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 1188 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 1252 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 1316 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 1380 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 1444 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 1508 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 1572 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local 1636 auto tensor = HDICommon::CreateIOTensor(device_); HWTEST_F() local [all...] |
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtStabilityTest/src/ |
H A D | hdi_stability_test.cpp | 70 auto tensor = HDICommon::CreateIOTensor(device); in RunModelTest() local
|
/test/xts/hats/ai/nnrt/hdi/v1_0/nnrtStabilityTest/src/ |
H A D | hdi_stability_test.cpp | 70 auto tensor = HDICommon::CreateIOTensor(device); in RunModelTest() local
|
/test/xts/acts/ai/nncore/e2etest/src/ |
H A D | EndToEndTest.cpp | 242 NN_Tensor* tensor = nullptr; in CreateTensorAndDestroyTensorDesc() local
|
/test/xts/acts/ai/nncore/common/ |
H A D | nncore_utils.cpp | 596 NN_Tensor* tensor = nullptr; in GetExecutorInputOutputTensorByDesc() local 639 NN_Tensor* tensor in GetExecutorInputOutputTensor() local [all...] |
/test/xts/acts/ai/mindspore/mindsporectest/src/ |
H A D | ohos_c_api_test_mslite.cpp | 232 OH_AI_TensorHandle tensor = inputs.handle_list[i]; in FillInputsData() local 261 OH_AI_TensorHandle tensor = outputs.handle_list[i]; in CompareResult() local 426 OH_AI_TensorHandle tensor in HWTEST() local 476 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("fc3.bias", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, create_shape_num, nullptr, 0); HWTEST() local 522 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("aaaaa", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, create_shape_num, nullptr, 0); HWTEST() local 547 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("fc3.bias", OH_AI_DATATYPE_NUMBERTYPE_FLOAT16, create_shape, create_shape_num, nullptr, 0); HWTEST() local 1243 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("app_usage_statistic_30_cell.embedding.embedding_table", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, create_shape_num, nullptr, 0); HWTEST() local 1977 OH_AI_TensorHandle tensor = outputs.handle_list[i]; HWTEST() local 2196 OH_AI_TensorHandle tensor = OH_AI_ModelGetInputByTensorName(model, "data"); HWTEST() local 2238 OH_AI_TensorHandle tensor = OH_AI_ModelGetInputByTensorName(model, "aaa"); HWTEST() local 2265 OH_AI_TensorHandle tensor = OH_AI_ModelGetOutputByTensorName(model, "prob"); HWTEST() local 2303 OH_AI_TensorHandle tensor = OH_AI_ModelGetOutputByTensorName(model, "aaa"); HWTEST() local 2324 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2349 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2368 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2388 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2409 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2429 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2450 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2474 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2507 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2527 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2548 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2573 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2602 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2623 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2644 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2664 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_shape, HWTEST() local 2737 OH_AI_TensorHandle tensor = inputs.handle_list[i]; HWTEST() local 2750 OH_AI_TensorHandle tensor = outputs.handle_list[i]; HWTEST() local 3132 OH_AI_TensorHandle tensor = inputs.handle_list[i]; HWTEST() local [all...] |
/test/xts/acts/ai/mindspore/mindsporendktest/entry/src/main/cpp/ |
H A D | mindspore.cpp | 1089 OH_AI_TensorHandle tensor =
in OHAITensorCreateOne() local 1101 OH_AI_TensorHandle tensor =
in OHAITensorDestroyOne() local 1117 OH_AI_TensorHandle tensor = OH_AI_TensorCreate("data", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, createShape,
in OHAITensorCloneOne() local 1139 OH_AI_TensorHandle tensor = OHAITensorSetNameOne() local 1162 OH_AI_TensorHandle tensor = OHAITensorGetNameOne() local 1179 OH_AI_TensorHandle tensor = OHAITensorSetDataTypeOne() local 1195 OH_AI_TensorHandle tensor = OHAITensorGetDataTypeOne() local 1211 OH_AI_TensorHandle tensor = OHAITensorSetShapeOne() local 1233 OH_AI_TensorHandle tensor = OHAITensorGetShapeOne() local 1255 OH_AI_TensorHandle tensor = OHAITensorSetFormatOne() local 1271 OH_AI_TensorHandle tensor = OHAITensorGetFormatOne() local 1287 OH_AI_TensorHandle tensor = OHAITensorSetDataOne() local 1308 OH_AI_TensorHandle tensor = OHAITensorGetDataOne() local 1329 OH_AI_TensorHandle tensor = OHAITensorGetMutableDataOne() local 1344 OH_AI_TensorHandle tensor = OHAITensorGetElementNumOne() local 1359 OH_AI_TensorHandle tensor = OHAITensorGetDataSizeOne() local 1641 OH_AI_TensorHandle tensor = OH_AI_ModelGetOutputByTensorName(model, "prob"); OHAIModelGetInputByTensorNameOne() local 1658 OH_AI_TensorHandle tensor = OH_AI_ModelGetInputByTensorName(model, "data"); OHAIModelGetOutputByTensorNameOne() local 1712 OH_AI_TensorHandle tensor = inputs.handle_list[i]; OHAITensorSetUserDataOne() local 1784 OH_AI_TensorHandle tensor = nullptr; OHAITensorCreateTwo() local 1795 OH_AI_TensorHandle tensor = OHAITensorSetNameTwo() local 1810 OH_AI_TensorHandle tensor = OHAITensorGetNameTwo() local 1825 OH_AI_TensorHandle tensor = OHAITensorSetDataTypeTwo() local 1840 OH_AI_TensorHandle tensor = OHAITensorGetDataTypeTwo() local 1897 OH_AI_TensorHandle tensor = OHAITensorSetDataTwo() local 1912 OH_AI_TensorHandle tensor = OHAITensorGetDataTwo() local [all...] |