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.cpp190 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/
Dneural_network_core_test.cpp920 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 …]
Dneural_network_core_test.h44 TensorDesc* tensorDesc = &desc; variable
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
Dneural_network_core.cpp817 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/
Dnncompiler.cpp815 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
Dnntensor.cpp41 OH_NN_ReturnCode NNTensor2_0::SetTensorDesc(const TensorDesc* tensorDesc) in SetTensorDesc()
Dnnexecutor.cpp122 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()
Dnn_tensor.cpp159 OH_NN_ReturnCode NNTensor::BuildFromTensorDesc(const NN_TensorDesc* tensorDesc) in BuildFromTensorDesc()
Dneural_network_runtime.cpp157 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.cpp472 TensorDesc* tensorDesc = &desc; 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/v2_1/hdi_prepared_model/
Dhdi_prepared_model_test.cpp738 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.cpp931 TensorDesc* tensorDesc = &desc; variable
992 TensorDesc* tensorDesc = &desc; variable
1052 TensorDesc* tensorDesc = &desc; variable
1159 TensorDesc* tensorDesc = &desc; variable