| /test/xts/acts/ai/nncore/nncoretest/src/ |
| D | HdiTensorTest.cpp | 57 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, nullptr); variable 71 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); variable 88 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); variable 104 NN_Tensor* tensor = OH_NNTensor_CreateWithSize(deviceId, nullptr, size); variable 120 NN_Tensor* tensor = OH_NNTensor_CreateWithSize(deviceId, tensorDesc, size); variable 139 NN_Tensor* tensor = OH_NNTensor_CreateWithSize(deviceId, tensorDesc, size); variable 156 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); variable 181 NN_Tensor* tensor = OH_NNTensor_CreateWithFd(deviceId, tensorDesc, fd, size, offset); variable 197 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); variable 222 NN_Tensor* tensor = OH_NNTensor_Create(deviceId, tensorDesc); variable [all …]
|
| /test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest_additional/src/ |
| D | hdi_device_test.cpp | 1873 for (auto &tensor : iModel->allTensors) { variable 1904 for (auto &tensor : iModel->allTensors) { variable 1935 for (auto &tensor : iModel->allTensors) { variable 1966 for (auto &tensor : iModel->allTensors) { variable 1997 for (auto &tensor : iModel->allTensors) { variable 2028 for (auto &tensor : iModel->allTensors) { variable 2059 for (auto &tensor : iModel->allTensors) { variable 2090 for (auto &tensor : iModel->allTensors) { variable 2121 for (auto &tensor : iModel->allTensors) { variable 2152 for (auto &tensor : iModel->allTensors) { variable [all …]
|
| D | hdi_model_prepare_test.cpp | 420 auto tensor = HDICommon::CreateIOTensor(device_); variable 484 auto tensor = HDICommon::CreateIOTensor(device_); variable 548 auto tensor = HDICommon::CreateIOTensor(device_); variable 612 auto tensor = HDICommon::CreateIOTensor(device_); variable 676 auto tensor = HDICommon::CreateIOTensor(device_); variable 740 auto tensor = HDICommon::CreateIOTensor(device_); variable 804 auto tensor = HDICommon::CreateIOTensor(device_); variable 868 auto tensor = HDICommon::CreateIOTensor(device_); variable 932 auto tensor = HDICommon::CreateIOTensor(device_); variable 996 auto tensor = HDICommon::CreateIOTensor(device_); variable [all …]
|
| /test/xts/acts/ai/mindspore/mindsporectest/src/ |
| D | ohos_c_api_test_mslite.cpp | 262 OH_AI_TensorHandle tensor = inputs.handle_list[i]; in FillInputsData() local 291 OH_AI_TensorHandle tensor = outputs.handle_list[i]; in CompareResult() local 459 …OH_AI_TensorHandle tensor = OH_AI_TensorCreate("fc3.bias", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, crea… variable 499 …OH_AI_TensorHandle tensor = OH_AI_TensorCreate("fc3.bias", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, crea… in ModelUpdateWeightsTest() local 566 …OH_AI_TensorHandle tensor = OH_AI_TensorCreate("aaaaa", OH_AI_DATATYPE_NUMBERTYPE_FLOAT32, create_… variable 593 …OH_AI_TensorHandle tensor = OH_AI_TensorCreate("fc3.bias", OH_AI_DATATYPE_NUMBERTYPE_FLOAT16, crea… variable 626 …OH_AI_TensorHandle tensor = OH_AI_TensorCreate(name, data_type, shape, shape_num, data, data_size); variable 660 …OH_AI_TensorHandle tensor = OH_AI_TensorCreate(name, data_type, shape, shape_num, data, data_size); variable 1438 …OH_AI_TensorHandle tensor = OH_AI_TensorCreate("app_usage_statistic_30_cell.embedding.embedding_ta… in ModelExportWeightsTest() local 2223 OH_AI_TensorHandle tensor = outputs.handle_list[i]; variable [all …]
|
| /test/xts/hats/ai/nnrt/hdi/v1_0/common/ |
| D | hdi_nnrt_test_utils.cpp | 151 V1_0::IOTensor tensor{.name = "tensor", in CreateIOTensor() local 179 V1_0::IOTensor tensor{.name = "tensor", in CreateInputIOTensor() local 200 V1_0::IOTensor tensor{.name = "tensor", in CreateOutputIOTensor() local 247 for (auto &tensor : tensors) { in ReleaseBufferOfTensors() local
|
| /test/xts/hats/ai/nnrt/hdi/v2_0/common/ |
| D | hdi_nnrt_test_utils.cpp | 151 V2_0::IOTensor tensor{.name = "tensor", in CreateIOTensor() local 179 V2_0::IOTensor tensor{.name = "tensor", in CreateInputIOTensor() local 200 V2_0::IOTensor tensor{.name = "tensor", in CreateOutputIOTensor() local 247 for (auto &tensor : tensors) { in ReleaseBufferOfTensors() local
|
| /test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest/src/ |
| D | hdi_model_run_test.cpp | 66 auto tensor = HDICommon::CreateIOTensor(device_); in AddModelTest() local 219 auto tensor = HDICommon::CreateIOTensor(device_); variable 390 auto tensor = HDICommon::CreateIOTensor(device_); variable
|
| D | hdi_model_prepare_test.cpp | 668 auto tensor = HDICommon::CreateIOTensor(device_); variable
|
| /test/xts/hats/ai/nnrt/hdi/v1_0/nnrtFunctionTest/src/ |
| D | hdi_model_run_test.cpp | 67 auto tensor = HDICommon::CreateIOTensor(device_); in AddModelTest() local 221 auto tensor = HDICommon::CreateIOTensor(device_); variable 390 auto tensor = HDICommon::CreateIOTensor(device_); variable
|
| /test/xts/acts/ai/mindspore/mindsporendktest/entry/src/main/cpp/ |
| 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, createSh… in OHAITensorCloneOne() local 1139 OH_AI_TensorHandle tensor = in OHAITensorSetNameOne() local 1162 OH_AI_TensorHandle tensor = in OHAITensorGetNameOne() local 1179 OH_AI_TensorHandle tensor = in OHAITensorSetDataTypeOne() local 1195 OH_AI_TensorHandle tensor = in OHAITensorGetDataTypeOne() local 1211 OH_AI_TensorHandle tensor = in OHAITensorSetShapeOne() local 1233 OH_AI_TensorHandle tensor = in OHAITensorGetShapeOne() local 1255 OH_AI_TensorHandle tensor = in OHAITensorSetFormatOne() local [all …]
|
| /test/xts/hats/ai/nnrt/hdi/v1_0/nnrtStabilityTest/src/ |
| D | hdi_stability_test.cpp | 70 auto tensor = HDICommon::CreateIOTensor(device); in RunModelTest() local
|
| /test/xts/hats/ai/nnrt/hdi/v2_0/nnrtStabilityTest/src/ |
| D | hdi_stability_test.cpp | 70 auto tensor = HDICommon::CreateIOTensor(device); in RunModelTest() local
|
| /test/xts/acts/ai/nncore/common/ |
| D | nncore_utils.cpp | 596 NN_Tensor* tensor = nullptr; in GetExecutorInputOutputTensorByDesc() local 639 NN_Tensor* tensor = nullptr; in GetExecutorInputOutputTensor() local
|
| /test/xts/acts/ai/nncore/e2etest/src/ |
| D | EndToEndTest.cpp | 242 NN_Tensor* tensor = nullptr; in CreateTensorAndDestroyTensorDesc() local
|
| /test/xts/acts/ai/neural_network_runtime/neural_network_core/entry/src/main/cpp/ |
| D | NeuralNetworkRuntimeTypeTest.cpp | 38 …const OH_NN_Tensor tensor = {OH_NN_FLOAT32, INDEX_VALUE_2, dim, nullptr, OH_NN_TensorType::OH_NN_T… in AddOperationTestCommon() local
|