Home
last modified time | relevance | path

Searched refs:OH_NN_NULL_PTR (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnntensor.cpp50 return OH_NN_NULL_PTR; in SetTensorDesc()
67 return OH_NN_NULL_PTR; in CreateData()
98 return OH_NN_NULL_PTR; in CreateData()
134 return OH_NN_NULL_PTR; in CreateData()
225 return OH_NN_NULL_PTR; in AllocateMemory()
232 return OH_NN_NULL_PTR; in AllocateMemory()
279 return OH_NN_NULL_PTR; in ReleaseMemory()
286 return OH_NN_NULL_PTR; in ReleaseMemory()
H A Dhdi_device_v2_0.cpp98 return OH_NN_NULL_PTR; in IsOfflineModel()
115 return OH_NN_NULL_PTR; in IsOfflineModel()
120 return OH_NN_NULL_PTR; in IsOfflineModel()
191 return OH_NN_NULL_PTR; in GetSupportedOperation()
631 return OH_NN_NULL_PTR; in PrepareOfflineModel()
H A Dnncompiler.cpp48 return OH_NN_NULL_PTR; in CopyFromTensorDesc()
334 return OH_NN_NULL_PTR; in IsOfflineModel()
811 return OH_NN_NULL_PTR; in SerializeTensorsToBuffer()
926 return OH_NN_NULL_PTR; in DeserializedTensorsFromBuffer()
950 return OH_NN_NULL_PTR; in DeserializedTensorsFromBuffer()
H A Dmemory_manager.cpp81 return OH_NN_NULL_PTR; in GetMemory()
H A Dhdi_prepared_model_v1_0.cpp100 return OH_NN_NULL_PTR; in TransIOTensor()
107 return OH_NN_NULL_PTR; in TransIOTensor()
H A Dhdi_device_v2_1.cpp98 return OH_NN_NULL_PTR; in IsOfflineModel()
115 return OH_NN_NULL_PTR; in IsOfflineModel()
186 return OH_NN_NULL_PTR; in GetSupportedOperation()
626 return OH_NN_NULL_PTR; in PrepareOfflineModel()
H A Dhdi_prepared_model_v2_0.cpp101 return OH_NN_NULL_PTR; in TransIOTensor()
108 return OH_NN_NULL_PTR; in TransIOTensor()
H A Dhdi_prepared_model_v2_1.cpp101 return OH_NN_NULL_PTR; in TransIOTensor()
108 return OH_NN_NULL_PTR; in TransIOTensor()
H A Dinner_model.cpp95 return OH_NN_NULL_PTR; in ConstructNNTensorsFromLiteGraph()
599 return OH_NN_NULL_PTR; in Build()
653 return OH_NN_NULL_PTR; in AddNodesToLiteGraph()
H A Dnnexecutor.cpp300 return OH_NN_NULL_PTR; in RunSync()
371 return OH_NN_NULL_PTR; in CheckInputDimRanges()
774 return OH_NN_NULL_PTR; in SetOutput()
828 return OH_NN_NULL_PTR; in SetOutputFromMemory()
H A Dhdi_device_v1_0.cpp154 return OH_NN_NULL_PTR; in GetSupportedOperation()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/v1_0/
H A Dcompilation_mock_idevice.cpp56 return OH_NN_NULL_PTR; in GetSupportedOperation()
158 return OH_NN_NULL_PTR; in PrepareModel()
200 if (HDI::Nnrt::V1_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_NULL_PTR) { in AllocateBuffer()
217 return OH_NN_NULL_PTR; in ReleaseBuffer()
242 return OH_NN_NULL_PTR; in PrepareModelFromModelCache()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/v2_0/
H A Dcompilation_mock_idevice.cpp56 return OH_NN_NULL_PTR; in GetSupportedOperation()
158 return OH_NN_NULL_PTR; in PrepareModel()
200 if (HDI::Nnrt::V2_0::MockIPreparedModel::m_ExpectRetCode == OH_NN_NULL_PTR) { in AllocateBuffer()
217 return OH_NN_NULL_PTR; in ReleaseBuffer()
242 return OH_NN_NULL_PTR; in PrepareModelFromModelCache()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/memory_manager/
H A Dmemory_manager_test.cpp175 EXPECT_EQ(OH_NN_NULL_PTR, result);
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/
H A Dneural_network_runtime_type.h157 OH_NN_NULL_PTR = 5, enumerator
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/nn_tensor/
H A Dnn_tensor_test.cpp212 EXPECT_EQ(OH_NN_NULL_PTR, ret);
405 EXPECT_EQ(OH_NN_NULL_PTR, ret);
578 EXPECT_EQ(OH_NN_NULL_PTR, ret);
729 EXPECT_EQ(OH_NN_NULL_PTR, ret);
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/compilation/
H A Dcompilation_test.cpp184 EXPECT_EQ(OH_NN_NULL_PTR, ret);
1165 MockIPreparedModel::m_ExpectRetCode = OH_NN_NULL_PTR;
1170 EXPECT_EQ(OH_NN_NULL_PTR, ret);
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/compilation/
H A Dcompilation_test.cpp184 EXPECT_EQ(OH_NN_NULL_PTR, ret);
1165 MockIPreparedModel::m_ExpectRetCode = OH_NN_NULL_PTR;
1170 EXPECT_EQ(OH_NN_NULL_PTR, ret);
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/
H A Dnnrt_utils.cpp41 case OH_NN_NULL_PTR: in NnrtErrorDescription()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/
H A Dneural__network__runtime__type_8h.md65 …ETER = 2, OH_NN_MEMORY_ERROR = 3,<br/>OH_NN_OPERATION_FORBIDDEN = 4, OH_NN_NULL_PTR = 5, OH_NN_INV…
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/
H A Dneural__network__runtime__type_8h.md65 …METER = 2, OH_NN_MEMORY_ERROR = 3,<br>OH_NN_OPERATION_FORBIDDEN = 4, OH_NN_NULL_PTR = 5, OH_NN_INV…
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_device/
H A Dhdi_device_test.cpp673 EXPECT_EQ(OH_NN_NULL_PTR, result);
1064 EXPECT_EQ(OH_NN_NULL_PTR, result);
1527 EXPECT_EQ(OH_NN_NULL_PTR, ret);
2045 EXPECT_EQ(OH_NN_NULL_PTR, result);
2436 EXPECT_EQ(OH_NN_NULL_PTR, result);
2899 EXPECT_EQ(OH_NN_NULL_PTR, ret);
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/hdi_device/
H A Dhdi_device_test.cpp534 EXPECT_EQ(OH_NN_NULL_PTR, result);
922 EXPECT_EQ(OH_NN_NULL_PTR, result);
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/
H A Dneural_network_runtime_test.cpp42 return OH_NN_NULL_PTR; in PrepareModel()
87 return OH_NN_NULL_PTR; in GetSupportedOperation()
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
H A Dneural_network_core.cpp1127 return OH_NN_NULL_PTR; in OH_NNTensor_Destroy()

12