Skip to content

Add a convert_to_ssa macro definition#8869

Merged
weishengying merged 1 commit intoPaddlePaddle:developfrom
weishengying:add_define
Apr 19, 2022
Merged

Add a convert_to_ssa macro definition#8869
weishengying merged 1 commit intoPaddlePaddle:developfrom
weishengying:add_define

Conversation

@weishengying
Copy link
Collaborator

@weishengying weishengying commented Apr 17, 2022

增加一个宏选择是否使用 convertTossa 这个api , 这可能是一个临时方案,因此根据业务需求目前只选择修改build_android.sh 脚本

@paddle-bot-old
Copy link

Thanks for your contribution!

CMakeLists.txt Outdated
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)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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)

Copy link
Collaborator

@chenjiaoAngel chenjiaoAngel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
这个是只有有子图的时候,才需要打开吗?
如果是的话,默认应该OFF吧

Copy link
Collaborator

@hong19860320 hong19860320 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@weishengying weishengying merged commit f50dc22 into PaddlePaddle:develop Apr 19, 2022
WeiLi233 pushed a commit to WeiLi233/Paddle-Lite that referenced this pull request Jun 28, 2022
WeiLi233 pushed a commit to WeiLi233/Paddle-Lite that referenced this pull request Jun 28, 2022
WeiLi233 pushed a commit to WeiLi233/Paddle-Lite that referenced this pull request Feb 13, 2023
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants