| /foundation/ai/neural_network_runtime/test/unittest/components/nn_tensor/ |
| D | nn_tensor_test.cpp | 190 TensorDesc* tensorDesc = &desc; variable 228 std::shared_ptr<MockTensorDesc> tensorDesc = std::make_shared<MockTensorDesc>(); variable 296 TensorDesc* tensorDesc = &desc; variable 318 std::shared_ptr<MockTensorDesc> tensorDesc = std::make_shared<MockTensorDesc>(); variable 348 std::shared_ptr<MockTensorDesc> tensorDesc = std::make_shared<MockTensorDesc>(); variable 399 TensorDesc* tensorDesc = &desc; variable 464 TensorDesc* tensorDesc = &desc; variable 533 TensorDesc* tensorDesc = &desc; variable 600 TensorDesc* tensorDesc = &desc; variable 629 TensorDesc* tensorDesc = &desc; variable [all …]
|
| /foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/ |
| D | neural_network_core_test.cpp | 920 NN_TensorDesc* tensorDesc = nullptr; variable 932 NN_TensorDesc* tensorDesc = OH_NNTensorDesc_Create(); variable 944 NN_TensorDesc* tensorDesc = nullptr; variable 957 NN_TensorDesc* tensorDesc = OH_NNTensorDesc_Create(); variable 970 NN_TensorDesc* tensorDesc = OH_NNTensorDesc_Create(); variable 983 NN_TensorDesc* tensorDesc = nullptr; variable 996 NN_TensorDesc* tensorDesc = OH_NNTensorDesc_Create(); variable 1009 NN_TensorDesc* tensorDesc = OH_NNTensorDesc_Create(); variable 1022 NN_TensorDesc* tensorDesc = nullptr; variable 1035 NN_TensorDesc* tensorDesc = OH_NNTensorDesc_Create(); variable [all …]
|
| D | neural_network_core_test.h | 44 TensorDesc* tensorDesc = &desc; variable
|
| /foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/ |
| D | neural_network_core.cpp | 817 NN_TensorDesc *tensorDesc = reinterpret_cast<NN_TensorDesc *>(tensorDescImpl); in OH_NNTensorDesc_Create() local 821 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_Destroy(NN_TensorDesc **tensorDesc) in OH_NNTensorDesc_Destroy() 838 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_SetName(NN_TensorDesc *tensorDesc, const char *name) in OH_NNTensorDesc_SetName() 853 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_GetName(const NN_TensorDesc *tensorDesc, const char **nam… in OH_NNTensorDesc_GetName() 872 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_SetDataType(NN_TensorDesc *tensorDesc, OH_NN_DataType dat… in OH_NNTensorDesc_SetDataType() 883 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_GetDataType(const NN_TensorDesc *tensorDesc, OH_NN_DataTy… in OH_NNTensorDesc_GetDataType() 898 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_SetShape(NN_TensorDesc *tensorDesc, const int32_t *shape,… in OH_NNTensorDesc_SetShape() 916 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_GetShape(const NN_TensorDesc *tensorDesc, in OH_NNTensorDesc_GetShape() 941 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_SetFormat(NN_TensorDesc *tensorDesc, OH_NN_Format format) in OH_NNTensorDesc_SetFormat() 952 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_GetFormat(const NN_TensorDesc *tensorDesc, OH_NN_Format *… in OH_NNTensorDesc_GetFormat() [all …]
|
| /foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
| D | nncompiler.cpp | 815 for (const auto& tensorDesc : tensorDescs) { in SerializeTensorsToBuffer() local 828 for (const auto& tensorDesc : immediateTensorDescs) { in SerializeTensorsToBuffer() local 846 for (const auto& tensorDesc : immediateTensorDescs) { in SerializeTensorsToBuffer() local
|
| D | nntensor.cpp | 41 OH_NN_ReturnCode NNTensor2_0::SetTensorDesc(const TensorDesc* tensorDesc) in SetTensorDesc()
|
| D | nnexecutor.cpp | 122 auto tensorDesc = m_outputTensorDescs[outputIndex].first; in GetOutputShape() local 387 …const std::pair<std::shared_ptr<TensorDesc>, OH_NN_TensorType>& tensorDesc, const NNTensor& tensor… in CompareAttribute() 684 const std::pair<std::shared_ptr<TensorDesc>, OH_NN_TensorType>& tensorDesc) in BuildNNTensorFromDesc()
|
| D | nn_tensor.cpp | 159 OH_NN_ReturnCode NNTensor::BuildFromTensorDesc(const NN_TensorDesc* tensorDesc) in BuildFromTensorDesc()
|
| D | neural_network_runtime.cpp | 157 OH_NN_ReturnCode OH_NNModel_AddTensorToModel(OH_NNModel* model, const NN_TensorDesc* tensorDesc) in OH_NNModel_AddTensorToModel()
|
| /foundation/ai/neural_network_runtime/test/unittest/components/nn_backend/ |
| D | nn_backend_test.cpp | 472 TensorDesc* tensorDesc = &desc; variable
|
| /foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_prepared_model/ |
| D | hdi_prepared_model_test.cpp | 739 TensorDesc tensorDesc; variable
|
| /foundation/ai/neural_network_runtime/test/unittest/components/v2_1/hdi_prepared_model/ |
| D | hdi_prepared_model_test.cpp | 738 TensorDesc tensorDesc; variable
|
| /foundation/ai/neural_network_runtime/test/unittest/components/v1_0/hdi_prepared_model/ |
| D | hdi_prepared_model_test.cpp | 744 TensorDesc tensorDesc; variable
|
| /foundation/ai/neural_network_runtime/test/unittest/components/nn_executor/ |
| D | nn_executor_test.cpp | 931 TensorDesc* tensorDesc = &desc; variable 992 TensorDesc* tensorDesc = &desc; variable 1052 TensorDesc* tensorDesc = &desc; variable 1159 TensorDesc* tensorDesc = &desc; variable
|