Home
last modified time | relevance | path

Searched refs:performanceMode (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/
H A Dnn_validation_test.cpp75 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 Dnn_validation_test.cpp87 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 Dvalidation.cpp37 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 Dvalidation.h39 bool ValidatePerformanceMode(OH_NN_PerformanceMode performanceMode);
H A Dneural_network_core.cpp342 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 Dnnrt_implementation.h55 OH_NN_PerformanceMode performanceMode);
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/
H A Dneural_network_core.h280 OH_NN_PerformanceMode performanceMode);
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/
H A Dneural_network_runtime_test.cpp908 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 Dneural__network__core_8h.md37 …N_PerformanceMode](_neural_network_runtime.md#oh_nn_performancemode) performanceMode) | 设置模型计算的性能模…
H A D_neural_network_runtime.md88 …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.md88 …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 Dneural_network_core_test.cpp793 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 Dneural__network__core_8h.md37 …N_PerformanceMode](_neural_network_runtime.md#oh_nn_performancemode) performanceMode) | Sets the p…
H A D_neural_network_runtime.md88 …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 Dneural_network_runtime_test.cpp961 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 Dneural-network-runtime-guidelines.md86 …PerformanceMode(OH_NNCompilation *compilation, OH_NN_PerformanceMode performanceMode) | 设置模型计算的性能模…
/ohos5.0/docs/zh-cn/application-dev/ai/nnrt/
H A Dneural-network-runtime-guidelines.md86 …PerformanceMode(OH_NNCompilation *compilation, OH_NN_PerformanceMode performanceMode) | 设置模型计算的性能模…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-mindspore-lite-kit/
H A Djs-apis-mindSporeLite.md502 | performanceMode<sup>12+</sup> | [PerformanceMode](#performancemode12) | 否 | 是 | NNRt设备的工作性能模式。默…
/ohos5.0/docs/en/application-dev/ai/nnrt/
H A Dneural-network-runtime-guidelines.md86 …PerformanceMode(OH_NNCompilation *compilation, OH_NN_PerformanceMode performanceMode) | Sets the p…
/ohos5.0/docs/en/application-dev/reference/apis-mindspore-lite-kit/
H A Djs-apis-mindSporeLite.md502 | performanceMode<sup>12+</sup> | [PerformanceMode](#performancemode12) | No | Yes | NNRt device pe…