Home
last modified time | relevance | path

Searched refs:SetPerformance (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/compilation/
H A Dcompilation_test.cpp102 EXPECT_EQ(OH_NN_SUCCESS, compilationTest.SetPerformance(OH_NN_PERFORMANCE_EXTREME)); in SetConfig()
411 OH_NN_ReturnCode ret = compilationTest.SetPerformance(OH_NN_PERFORMANCE_NONE);
424 OH_NN_ReturnCode ret = compilationTest.SetPerformance(OH_NN_PERFORMANCE_NONE);
445 OH_NN_ReturnCode ret = compilationTest.SetPerformance(OH_NN_PERFORMANCE_NONE);
466 OH_NN_ReturnCode ret = compilationTest.SetPerformance(OH_NN_PERFORMANCE_NONE);
487 OH_NN_ReturnCode ret = compilationTest.SetPerformance(performance);
507 OH_NN_ReturnCode ret = compilationTest.SetPerformance(OH_NN_PERFORMANCE_NONE);
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/compilation/
H A Dcompilation_test.cpp102 EXPECT_EQ(OH_NN_SUCCESS, compilationTest.SetPerformance(OH_NN_PERFORMANCE_EXTREME)); in SetConfig()
411 OH_NN_ReturnCode ret = compilationTest.SetPerformance(OH_NN_PERFORMANCE_NONE);
424 OH_NN_ReturnCode ret = compilationTest.SetPerformance(OH_NN_PERFORMANCE_NONE);
445 OH_NN_ReturnCode ret = compilationTest.SetPerformance(OH_NN_PERFORMANCE_NONE);
466 OH_NN_ReturnCode ret = compilationTest.SetPerformance(OH_NN_PERFORMANCE_NONE);
487 OH_NN_ReturnCode ret = compilationTest.SetPerformance(performance);
507 OH_NN_ReturnCode ret = compilationTest.SetPerformance(OH_NN_PERFORMANCE_NONE);
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
H A Dcompiler.h35 virtual OH_NN_ReturnCode SetPerformance(OH_NN_PerformanceMode performance) = 0;
H A Dneural_network_core.cpp353 OH_NN_ReturnCode ret = compilationImpl->compiler->SetPerformance(performanceMode); in OH_NNCompilation_SetPerformanceMode()
452 ret = compilation->compiler->SetPerformance(compilation->performance); in SetCompilationOptions()
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnncompiler.h40 OH_NN_ReturnCode SetPerformance(OH_NN_PerformanceMode performance) override;
H A Dnncompiler.cpp177 OH_NN_ReturnCode NNCompiler::SetPerformance(OH_NN_PerformanceMode performance) in SetPerformance() function in OHOS::NeuralNetworkRuntime::NNCompiler
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/nn_compiler/
H A Dnn_compiler_test.cpp359 OH_NN_ReturnCode ret = nncompiler->SetPerformance(performance);
379 OH_NN_ReturnCode ret = nncompiler->SetPerformance(performance);
401 OH_NN_ReturnCode ret = nncompiler->SetPerformance(performance);
425 OH_NN_ReturnCode ret = nncompiler->SetPerformance(performance);