/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/ |
H A D | nn_validation_test.cpp | 75 OH_NN_PerformanceMode performanceMode = (OH_NN_PerformanceMode)performanceModeTest; variable 76 EXPECT_EQ(true, ValidatePerformanceMode(performanceMode)); 87 OH_NN_PerformanceMode performanceMode = (OH_NN_PerformanceMode)performanceModeTest; variable 88 EXPECT_EQ(false, ValidatePerformanceMode(performanceMode)); 99 OH_NN_PerformanceMode performanceMode = (OH_NN_PerformanceMode)performanceModeTest; variable 100 EXPECT_EQ(false, ValidatePerformanceMode(performanceMode));
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/ |
H A D | nn_validation_test.cpp | 87 OH_NN_PerformanceMode performanceMode = (OH_NN_PerformanceMode)performanceModeTest; variable 88 EXPECT_EQ(true, ValidatePerformanceMode(performanceMode)); 99 OH_NN_PerformanceMode performanceMode = (OH_NN_PerformanceMode)performanceModeTest; variable 100 EXPECT_EQ(false, ValidatePerformanceMode(performanceMode)); 111 OH_NN_PerformanceMode performanceMode = (OH_NN_PerformanceMode)performanceModeTest; variable 112 EXPECT_EQ(false, ValidatePerformanceMode(performanceMode));
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/ |
H A D | validation.cpp | 37 bool ValidatePerformanceMode(OH_NN_PerformanceMode performanceMode) in ValidatePerformanceMode() argument 39 …if ((performanceMode >= OH_NN_PERFORMANCE_NONE) && (performanceMode <= OH_NN_PERFORMANCE_EXTREME))… in ValidatePerformanceMode()
|
H A D | validation.h | 39 bool ValidatePerformanceMode(OH_NN_PerformanceMode performanceMode);
|
H A D | neural_network_core.cpp | 342 OH_NN_PerformanceMode performanceMode) in OH_NNCompilation_SetPerformanceMode() argument 350 compilationImpl->performance = performanceMode; in OH_NNCompilation_SetPerformanceMode() 353 OH_NN_ReturnCode ret = compilationImpl->compiler->SetPerformance(performanceMode); in OH_NNCompilation_SetPerformanceMode()
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/ |
H A D | nnrt_implementation.h | 55 OH_NN_PerformanceMode performanceMode);
|
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/ |
H A D | neural_network_core.h | 280 OH_NN_PerformanceMode performanceMode);
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 908 OH_NN_PerformanceMode performanceMode = OH_NN_PERFORMANCE_NONE; variable 910 OH_NN_ReturnCode ret = OH_NNCompilation_SetPerformanceMode(nnCompilation, performanceMode); 926 OH_NN_PerformanceMode performanceMode = OH_NN_PERFORMANCE_NONE; variable 928 OH_NN_ReturnCode ret = OH_NNCompilation_SetPerformanceMode(nnCompilation, performanceMode);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__core_8h.md | 37 …N_PerformanceMode](_neural_network_runtime.md#oh_nn_performancemode) performanceMode) | 设置模型计算的性能模…
|
H A D | _neural_network_runtime.md | 88 …tion) \*compilation, [OH_NN_PerformanceMode](#oh_nn_performancemode) performanceMode) | 设置模型计算的性能模… 1296 …pilation_SetPerformanceMode (OH_NNCompilation *compilation, OH_NN_PerformanceMode performanceMode ) 1314 | performanceMode | 指定性能模式,可选的性能模式参考[OH_NN_PerformanceMode](#oh_nn_performancemode)。 |
|
H A D | _neural_nework_runtime.md | 88 …tion) \*compilation, [OH_NN_PerformanceMode](#oh_nn_performancemode) performanceMode) | 设置模型计算的性能模… 1296 …pilation_SetPerformanceMode (OH_NNCompilation *compilation, OH_NN_PerformanceMode performanceMode ) 1314 | performanceMode | 指定性能模式,可选的性能模式参考[OH_NN_PerformanceMode](#oh_nn_performancemode)。 |
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/ |
H A D | neural_network_core_test.cpp | 793 OH_NN_PerformanceMode performanceMode = OH_NN_PERFORMANCE_NONE; variable 795 OH_NN_ReturnCode ret = OH_NNCompilation_SetPerformanceMode(nnCompilation, performanceMode); 808 OH_NN_PerformanceMode performanceMode = OH_NN_PERFORMANCE_NONE; variable 809 OH_NN_ReturnCode ret = OH_NNCompilation_SetPerformanceMode(nnCompilation, performanceMode);
|
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__core_8h.md | 37 …N_PerformanceMode](_neural_network_runtime.md#oh_nn_performancemode) performanceMode) | Sets the p…
|
H A D | _neural_network_runtime.md | 88 …tion) \*compilation, [OH_NN_PerformanceMode](#oh_nn_performancemode) performanceMode) | Sets the p… 1296 …pilation_SetPerformanceMode (OH_NNCompilation *compilation, OH_NN_PerformanceMode performanceMode ) 1314 | performanceMode | Performance mode for model computing. For details, see [OH_NN_PerformanceMode](…
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 961 OH_NN_PerformanceMode performanceMode = OH_NN_PERFORMANCE_NONE; variable 963 OH_NN_ReturnCode ret = OH_NNCompilation_SetPerformanceMode(nnCompilation, performanceMode); 979 OH_NN_PerformanceMode performanceMode = OH_NN_PERFORMANCE_NONE; variable 981 OH_NN_ReturnCode ret = OH_NNCompilation_SetPerformanceMode(nnCompilation, performanceMode);
|
/ohos5.0/foundation/ai/neural_network_runtime/ |
H A D | neural-network-runtime-guidelines.md | 86 …PerformanceMode(OH_NNCompilation *compilation, OH_NN_PerformanceMode performanceMode) | 设置模型计算的性能模…
|
/ohos5.0/docs/zh-cn/application-dev/ai/nnrt/ |
H A D | neural-network-runtime-guidelines.md | 86 …PerformanceMode(OH_NNCompilation *compilation, OH_NN_PerformanceMode performanceMode) | 设置模型计算的性能模…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-mindspore-lite-kit/ |
H A D | js-apis-mindSporeLite.md | 502 | performanceMode<sup>12+</sup> | [PerformanceMode](#performancemode12) | 否 | 是 | NNRt设备的工作性能模式。默…
|
/ohos5.0/docs/en/application-dev/ai/nnrt/ |
H A D | neural-network-runtime-guidelines.md | 86 …PerformanceMode(OH_NNCompilation *compilation, OH_NN_PerformanceMode performanceMode) | Sets the p…
|
/ohos5.0/docs/en/application-dev/reference/apis-mindspore-lite-kit/ |
H A D | js-apis-mindSporeLite.md | 502 | performanceMode<sup>12+</sup> | [PerformanceMode](#performancemode12) | No | Yes | NNRt device pe…
|