Home
last modified time | relevance | path

Searched refs:SetEnableFp16 (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.cpp104 EXPECT_EQ(OH_NN_SUCCESS, compilationTest.SetEnableFp16(true)); in SetConfig()
650 OH_NN_ReturnCode ret = compilationTest.SetEnableFp16(true);
664 OH_NN_ReturnCode ret = compilationTest.SetEnableFp16(true);
685 OH_NN_ReturnCode ret = compilationTest.SetEnableFp16(true);
706 OH_NN_ReturnCode ret = compilationTest.SetEnableFp16(true);
726 OH_NN_ReturnCode ret = compilationTest.SetEnableFp16(true);
889 EXPECT_EQ(OH_NN_SUCCESS, compilationTest.SetEnableFp16(true));
910 EXPECT_EQ(OH_NN_SUCCESS, compilationTest.SetEnableFp16(true));
933 EXPECT_EQ(OH_NN_SUCCESS, compilationTest.SetEnableFp16(true));
954 EXPECT_EQ(OH_NN_SUCCESS, compilationTest.SetEnableFp16(true));
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/compilation/
H A Dcompilation_test.cpp104 EXPECT_EQ(OH_NN_SUCCESS, compilationTest.SetEnableFp16(true)); in SetConfig()
650 OH_NN_ReturnCode ret = compilationTest.SetEnableFp16(true);
664 OH_NN_ReturnCode ret = compilationTest.SetEnableFp16(true);
685 OH_NN_ReturnCode ret = compilationTest.SetEnableFp16(true);
706 OH_NN_ReturnCode ret = compilationTest.SetEnableFp16(true);
726 OH_NN_ReturnCode ret = compilationTest.SetEnableFp16(true);
889 EXPECT_EQ(OH_NN_SUCCESS, compilationTest.SetEnableFp16(true));
910 EXPECT_EQ(OH_NN_SUCCESS, compilationTest.SetEnableFp16(true));
933 EXPECT_EQ(OH_NN_SUCCESS, compilationTest.SetEnableFp16(true));
954 EXPECT_EQ(OH_NN_SUCCESS, compilationTest.SetEnableFp16(true));
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
H A Dcompiler.h37 virtual OH_NN_ReturnCode SetEnableFp16(bool isFp16) = 0;
H A Dneural_network_core.cpp446 ret = compilation->compiler->SetEnableFp16(compilation->enableFp16); in SetCompilationOptions()
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dnncompiler.h42 OH_NN_ReturnCode SetEnableFp16(bool isFp16) override;
H A Dnncompiler.cpp233 OH_NN_ReturnCode NNCompiler::SetEnableFp16(bool isFp16) in SetEnableFp16() function in OHOS::NeuralNetworkRuntime::NNCompiler
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/nn_compiler/
H A Dnn_compiler_test.cpp530 OH_NN_ReturnCode ret = nncompiler->SetEnableFp16(isFp16);
551 OH_NN_ReturnCode ret = nncompiler->SetEnableFp16(isFp16);
574 OH_NN_ReturnCode ret = nncompiler->SetEnableFp16(isFp16);
597 OH_NN_ReturnCode ret = nncompiler->SetEnableFp16(isFp16);