-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a convert_to_ssa macro definition #8869
Conversation
Thanks for your contribution! |
CMakeLists.txt
Outdated
@@ -88,6 +88,8 @@ lite_option(LITE_WITH_XCODE "when debug in xcode, its ON." | |||
lite_option(LITE_WITH_ARM82_FP16 "when compile with arm v8.2 fp16, it's ON." OFF) | |||
lite_option(LITE_WITH_ARM82_INT8_SDOT "when compile with arm v8.2 int8, it's ON." OFF) | |||
lite_option(LITE_WITH_CODE_META_INFO "include git version in the header file." ON) | |||
# whether convert input model which is not a DAG to SSA graph | |||
lite_option(LITE_WITH_CODE_META_INFO "whether convert input model which is not a DAG to SSA graph" ON) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lite_option(LITE_WITH_CODE_META_INFO "whether convert input model which is not a DAG to SSA graph" ON) | |
lite_option(WITH_CONVERT_TO_SSA "whether convert input model which is not a DAG to SSA graph" ON) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
test [OpTestPy] fix expand/expand_v2, fc,flatten_contiguous_range, gather, generate_proposals_v2,greater_equal diff! (PaddlePaddle#8339) (PaddlePaddle#8394) * test=document_fix fix Android C++ demo compile Fail bug (PaddlePaddle#8245) * fix demo MakeFile Add a convert_to_ssa macro definition (PaddlePaddle#8869) rm convertToSSA API,test=huawei_ascend_npu test=nvidia_tensorrt test=verisilicon_timvx (PaddlePaddle#8988) Sync with offical 3af2ffb Sync with 3af2ffb
增加一个宏选择是否使用 convertTossa 这个api , 这可能是一个临时方案,因此根据业务需求目前只选择修改build_android.sh 脚本