Home
last modified time | relevance | path

Searched defs:tensorDesc (Results 1 – 14 of 14) sorted by relevance

/foundation/ai/neural_network_runtime/test/unittest/components/nn_tensor/
Dnn_tensor_test.cpp191 TensorDesc* tensorDesc = &desc; variable
229 std::shared_ptr<MockTensorDesc> tensorDesc = std::make_shared<MockTensorDesc>(); variable
297 TensorDesc* tensorDesc = &desc; variable
319 std::shared_ptr<MockTensorDesc> tensorDesc = std::make_shared<MockTensorDesc>(); variable
349 std::shared_ptr<MockTensorDesc> tensorDesc = std::make_shared<MockTensorDesc>(); variable
400 TensorDesc* tensorDesc = &desc; variable
465 TensorDesc* tensorDesc = &desc; variable
534 TensorDesc* tensorDesc = &desc; variable
601 TensorDesc* tensorDesc = &desc; variable
630 TensorDesc* tensorDesc = &desc; variable
[all …]
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/
Dneural_network_core_test.cpp921 NN_TensorDesc* tensorDesc = nullptr; variable
933 NN_TensorDesc* tensorDesc = OH_NNTensorDesc_Create(); variable
945 NN_TensorDesc* tensorDesc = nullptr; variable
958 NN_TensorDesc* tensorDesc = OH_NNTensorDesc_Create(); variable
971 NN_TensorDesc* tensorDesc = OH_NNTensorDesc_Create(); variable
984 NN_TensorDesc* tensorDesc = nullptr; variable
997 NN_TensorDesc* tensorDesc = OH_NNTensorDesc_Create(); variable
1010 NN_TensorDesc* tensorDesc = OH_NNTensorDesc_Create(); variable
1023 NN_TensorDesc* tensorDesc = nullptr; variable
1036 NN_TensorDesc* tensorDesc = OH_NNTensorDesc_Create(); variable
[all …]
Dneural_network_core_test.h44 TensorDesc* tensorDesc = &desc; variable
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
Dneural_network_core.cpp896 NN_TensorDesc *tensorDesc = reinterpret_cast<NN_TensorDesc *>(tensorDescImpl); in OH_NNTensorDesc_Create() local
900 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_Destroy(NN_TensorDesc **tensorDesc) in OH_NNTensorDesc_Destroy()
917 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_SetName(NN_TensorDesc *tensorDesc, const char *name) in OH_NNTensorDesc_SetName()
932 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_GetName(const NN_TensorDesc *tensorDesc, const char **nam… in OH_NNTensorDesc_GetName()
951 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_SetDataType(NN_TensorDesc *tensorDesc, OH_NN_DataType dat… in OH_NNTensorDesc_SetDataType()
962 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_GetDataType(const NN_TensorDesc *tensorDesc, OH_NN_DataTy… in OH_NNTensorDesc_GetDataType()
977 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_SetShape(NN_TensorDesc *tensorDesc, const int32_t *shape,… in OH_NNTensorDesc_SetShape()
995 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_GetShape(const NN_TensorDesc *tensorDesc, in OH_NNTensorDesc_GetShape()
1020 NNRT_API OH_NN_ReturnCode OH_NNTensorDesc_SetFormat(NN_TensorDesc *tensorDesc, OH_NN_Format format) in OH_NNTensorDesc_SetFormat()
1031 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/
Dnntensor.cpp41 OH_NN_ReturnCode NNTensor2_0::SetTensorDesc(const TensorDesc* tensorDesc) in SetTensorDesc()
Dnncompiler.cpp808 for (const auto& tensorDesc : tensorDescs) { in SerializeTensorsToBuffer() local
821 for (const auto& tensorDesc : immediateTensorDescs) { in SerializeTensorsToBuffer() local
839 for (const auto& tensorDesc : immediateTensorDescs) { in SerializeTensorsToBuffer() local
Dnnexecutor.cpp249 auto tensorDesc = m_outputTensorDescs[outputIndex].first; in GetOutputShape() local
722 …const std::pair<std::shared_ptr<TensorDesc>, OH_NN_TensorType>& tensorDesc, const NNTensor& tensor… in CompareAttribute()
1019 const std::pair<std::shared_ptr<TensorDesc>, OH_NN_TensorType>& tensorDesc) in BuildNNTensorFromDesc()
Dnn_tensor.cpp160 OH_NN_ReturnCode NNTensor::BuildFromTensorDesc(const NN_TensorDesc* tensorDesc) in BuildFromTensorDesc()
Dneural_network_runtime.cpp184 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/
Dnn_backend_test.cpp473 TensorDesc* tensorDesc = &desc; variable
/foundation/ai/neural_network_runtime/test/unittest/components/v2_1/hdi_prepared_model/
Dhdi_prepared_model_test.cpp738 TensorDesc tensorDesc; variable
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_prepared_model/
Dhdi_prepared_model_test.cpp739 TensorDesc tensorDesc; variable
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/hdi_prepared_model/
Dhdi_prepared_model_test.cpp744 TensorDesc tensorDesc; variable
/foundation/ai/neural_network_runtime/test/unittest/components/nn_executor/
Dnn_executor_test.cpp1061 TensorDesc* tensorDesc = &desc; variable
1127 TensorDesc* tensorDesc = &desc; variable
1192 TensorDesc* tensorDesc = &desc; variable
1314 TensorDesc* tensorDesc = &desc; variable