Skip to content

Conversation

@winter-wang
Copy link
Contributor

PR types

Bug fixes

PR changes

Others

Describe

scale op不支持bool类型的输入。paddle在保存模型时,会在某些条件下针对某些variable插入缩放值为1的scale op。当该variable的类型为bool时,就会导致崩溃。在pr中,针对bool类型variable,跳过插入scale op操作。
卡片链接: https://console.cloud.baidu-int.com/devops/icafe/issue/DLTP-20041/show?cid=5&from=hi&noticeStatistics=65319290

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@Shixiaowei02 Shixiaowei02 merged commit ad52248 into PaddlePaddle:develop Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants