/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | hdi_device_v1_0.cpp | 98 return OH_NN_UNAVAILABLE_DEVICE; in GetDeviceName() 108 return OH_NN_UNAVAILABLE_DEVICE; in GetVendorName() 118 return OH_NN_UNAVAILABLE_DEVICE; in GetVersion() 130 return OH_NN_UNAVAILABLE_DEVICE; in GetDeviceType() 143 return OH_NN_UNAVAILABLE_DEVICE; in GetDeviceStatus() 185 return OH_NN_UNAVAILABLE_DEVICE; in GetSupportedOperation() 195 return OH_NN_UNAVAILABLE_DEVICE; in IsFloat16PrecisionSupported() 205 return OH_NN_UNAVAILABLE_DEVICE; in IsPerformanceModeSupported() 215 return OH_NN_UNAVAILABLE_DEVICE; in IsPrioritySupported() 225 return OH_NN_UNAVAILABLE_DEVICE; in IsDynamicInputSupported() [all …]
|
H A D | hdi_device_v2_0.cpp | 139 return CheckReturnCode(ret, OH_NN_UNAVAILABLE_DEVICE, "Get HDI device name failed"); in GetDeviceName() 148 return CheckReturnCode(ret, OH_NN_UNAVAILABLE_DEVICE, "Get HDI vendor name failed"); in GetVendorName() 157 return CheckReturnCode(ret, OH_NN_UNAVAILABLE_DEVICE, "Get HDI version failed"); in GetVersion() 168 return CheckReturnCode(ret, OH_NN_UNAVAILABLE_DEVICE, "Get HDI device type failed"); in GetDeviceType() 180 return CheckReturnCode(ret, OH_NN_UNAVAILABLE_DEVICE, "Get HDI device status failed"); in GetDeviceStatus() 234 return CheckReturnCode(ret, OH_NN_UNAVAILABLE_DEVICE, "Get supported operation failed"); in GetSupportedOperation() 243 … return CheckReturnCode(ret, OH_NN_UNAVAILABLE_DEVICE, "Query fp16 precision supported failed"); in IsFloat16PrecisionSupported() 252 … return CheckReturnCode(ret, OH_NN_UNAVAILABLE_DEVICE, "Query performance mode supported failed"); in IsPerformanceModeSupported() 261 return CheckReturnCode(ret, OH_NN_UNAVAILABLE_DEVICE, "Query priority supported failed"); in IsPrioritySupported() 270 … return CheckReturnCode(ret, OH_NN_UNAVAILABLE_DEVICE, "Query dynamic input supported failed"); in IsDynamicInputSupported() [all …]
|
H A D | hdi_device_v2_1.cpp | 134 return CheckReturnCode_V2_1(ret, OH_NN_UNAVAILABLE_DEVICE, "Get HDI device name failed"); in GetDeviceName() 143 return CheckReturnCode_V2_1(ret, OH_NN_UNAVAILABLE_DEVICE, "Get HDI vendor name failed"); in GetVendorName() 152 return CheckReturnCode_V2_1(ret, OH_NN_UNAVAILABLE_DEVICE, "Get HDI version failed"); in GetVersion() 163 return CheckReturnCode_V2_1(ret, OH_NN_UNAVAILABLE_DEVICE, "Get HDI device type failed"); in GetDeviceType() 175 return CheckReturnCode_V2_1(ret, OH_NN_UNAVAILABLE_DEVICE, "Get HDI device status failed"); in GetDeviceStatus() 229 … return CheckReturnCode_V2_1(ret, OH_NN_UNAVAILABLE_DEVICE, "Get supported operation failed"); in GetSupportedOperation() 238 …return CheckReturnCode_V2_1(ret, OH_NN_UNAVAILABLE_DEVICE, "Query fp16 precision supported failed"… in IsFloat16PrecisionSupported() 247 …return CheckReturnCode_V2_1(ret, OH_NN_UNAVAILABLE_DEVICE, "Query performance mode supported faile… in IsPerformanceModeSupported() 256 … return CheckReturnCode_V2_1(ret, OH_NN_UNAVAILABLE_DEVICE, "Query priority supported failed"); in IsPrioritySupported() 265 …return CheckReturnCode_V2_1(ret, OH_NN_UNAVAILABLE_DEVICE, "Query dynamic input supported failed"); in IsDynamicInputSupported() [all …]
|
H A D | hdi_prepared_model_v2_0.cpp | 235 return CheckReturnCode(ret, OH_NN_UNAVAILABLE_DEVICE, "Run model failed"); in Run() 239 return OH_NN_UNAVAILABLE_DEVICE; in Run() 280 return CheckReturnCode(ret, OH_NN_UNAVAILABLE_DEVICE, "Run model failed"); in Run() 284 return OH_NN_UNAVAILABLE_DEVICE; in Run() 295 return CheckReturnCode(ret, OH_NN_UNAVAILABLE_DEVICE, "Get input dim ranges failed"); in GetInputDimRanges()
|
H A D | hdi_prepared_model_v2_1.cpp | 235 return CheckReturnCode_V2_1(ret, OH_NN_UNAVAILABLE_DEVICE, "Run model failed"); in Run() 239 return OH_NN_UNAVAILABLE_DEVICE; in Run() 280 return CheckReturnCode_V2_1(ret, OH_NN_UNAVAILABLE_DEVICE, "Run model failed"); in Run() 284 return OH_NN_UNAVAILABLE_DEVICE; in Run() 295 return CheckReturnCode_V2_1(ret, OH_NN_UNAVAILABLE_DEVICE, "Get input dim ranges failed"); in GetInputDimRanges()
|
H A D | hdi_prepared_model_v1_0.cpp | 236 return OH_NN_UNAVAILABLE_DEVICE; in Run() 278 return OH_NN_UNAVAILABLE_DEVICE; in Run()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/hdi_device/ |
H A D | hdi_device_test.cpp | 168 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 206 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 245 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 285 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 394 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 595 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 635 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 675 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 715 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 755 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/v1_0/ |
H A D | inner_model_mock_device.cpp | 42 return OH_NN_UNAVAILABLE_DEVICE; in GetSupportedOperation()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/v2_0/ |
H A D | inner_model_mock_device.cpp | 42 return OH_NN_UNAVAILABLE_DEVICE; in GetSupportedOperation()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/device_manager/ |
H A D | device_manager_test.cpp | 168 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 190 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result);
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_device/ |
H A D | hdi_device_test.cpp | 299 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 337 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 376 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 416 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 525 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 737 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 777 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 817 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 857 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 897 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/ |
H A D | backend_manager.cpp | 111 return OH_NN_UNAVAILABLE_DEVICE; in RegisterBackend()
|
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/ |
H A D | neural_network_runtime_type.h | 190 OH_NN_UNAVAILABLE_DEVICE = 14 enumerator
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime__type_8h.md | 65 …<br/>OH_NN_SAVE_CACHE_EXCEPTION = 12, OH_NN_DYNAMIC_SHAPE = 13, OH_NN_UNAVAILABLE_DEVICE = 14<br/>…
|
H A D | _neural_network_runtime.md | 66 …<br/>OH_NN_SAVE_CACHE_EXCEPTION = 12, OH_NN_DYNAMIC_SHAPE = 13, OH_NN_UNAVAILABLE_DEVICE = 14<br/>… 748 …误,错误可能包含:HDL服务崩溃<br/>**弃用:**从API version 11开始废弃,此接口废弃。<br/>**替代:**推荐使用 OH_NN_UNAVAILABLE_DEVICE。 | 755 | OH_NN_UNAVAILABLE_DEVICE<sup>11+</sup> | 硬件发生错误,错误可能包含:HDL服务崩溃 | 1151 在不支持float16精度计算的硬件上调用该接口,将返回OH_NN_UNAVAILABLE_DEVICE错误码。 1305 在不支持性能模式设置的硬件上调用该接口,将返回OH_NN_UNAVAILABLE_DEVICE错误码。 1333 在不支持优先级设置的硬件上调用该接口,将返回OH_NN_UNAVAILABLE_DEVICE错误码。
|
H A D | _neural_nework_runtime.md | 66 …<br/>OH_NN_SAVE_CACHE_EXCEPTION = 12, OH_NN_DYNAMIC_SHAPE = 13, OH_NN_UNAVAILABLE_DEVICE = 14<br/>… 748 …误,错误可能包含:HDL服务崩溃<br/>**弃用:**从API version 11开始废弃,此接口废弃。<br/>**替代:**推荐使用 OH_NN_UNAVAILABLE_DEVICE。 | 755 | OH_NN_UNAVAILABLE_DEVICE<sup>11+</sup> | 硬件发生错误,错误可能包含:HDL服务崩溃 | 1151 在不支持float16精度计算的硬件上调用该接口,将返回OH_NN_UNAVAILABLE_DEVICE错误码。 1305 在不支持性能模式设置的硬件上调用该接口,将返回OH_NN_UNAVAILABLE_DEVICE错误码。 1333 在不支持优先级设置的硬件上调用该接口,将返回OH_NN_UNAVAILABLE_DEVICE错误码。
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/hdi_prepared_model/ |
H A D | hdi_prepared_model_test.cpp | 333 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 772 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, ret);
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_prepared_model/ |
H A D | hdi_prepared_model_test.cpp | 329 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 767 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, ret);
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_1/hdi_prepared_model/ |
H A D | hdi_prepared_model_test.cpp | 330 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, result); 766 EXPECT_EQ(OH_NN_UNAVAILABLE_DEVICE, ret);
|
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime__type_8h.md | 65 …,<br>OH_NN_SAVE_CACHE_EXCEPTION = 12, OH_NN_DYNAMIC_SHAPE = 13, OH_NN_UNAVAILABLE_DEVICE = 14<br>}…
|
H A D | _neural_network_runtime.md | 66 …,<br>OH_NN_SAVE_CACHE_EXCEPTION = 12, OH_NN_DYNAMIC_SHAPE = 13, OH_NN_UNAVAILABLE_DEVICE = 14<br>}… 748 …This API is deprecated since API version 11.<br>**Substitute**: OH_NN_UNAVAILABLE_DEVICE is recomm… 755 | OH_NN_UNAVAILABLE_DEVICE<sup>11+</sup> | Hardware error, for example, HDL service crash.| 1151 …d on the device that does not support float16, the error code **OH_NN_UNAVAILABLE_DEVICE** is retu… 1305 …s not support setting of the performance mode, the error code **OH_NN_UNAVAILABLE_DEVICE** is retu… 1333 …device that does not support priority setting, the error code **OH_NN_UNAVAILABLE_DEVICE** is retu…
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 52 return OH_NN_UNAVAILABLE_DEVICE; in GetDeviceType()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 53 return OH_NN_UNAVAILABLE_DEVICE; in GetDeviceType()
|