Skip to content
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

[Fix Bug] Replace float with Scalar in ScaleKernel & Fix test error #1073

Merged
merged 4 commits into from
Mar 28, 2024

Conversation

Tongkaio
Copy link
Member

@Tongkaio Tongkaio commented Mar 26, 2024

mlu, gcu(npu另外提交PR):

  • ScaleKernel 的参数列表中,bias 的类型已由 float 改为 Scalar,参考:#62598
  • expand 已支持 uint8 等类型,同步修改单测,参考:#62849

Copy link

paddle-bot bot commented Mar 26, 2024

Thanks for your contribution!

Copy link
Collaborator

@qili93 qili93 left a comment

Choose a reason for hiding this comment

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

LGTM

@Tongkaio Tongkaio changed the title [Scalar] Replace float with Scalar in ScaleKernel [Fix Bug] Replace float with Scalar in ScaleKernel & Fix test error Mar 26, 2024
Copy link
Collaborator

@qili93 qili93 left a comment

Choose a reason for hiding this comment

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

LGTM

@qili93 qili93 merged commit f1bc0b4 into PaddlePaddle:develop Mar 28, 2024
6 checks passed
@Tongkaio Tongkaio deleted the fix_scale branch April 3, 2024 07:28
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