-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
【PIR API adaptor No.253、310】Migrate cumulative_trapezoid,trapezoid into pir #59481
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
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.
麻烦在 pr 描述里补充一下单测覆盖率~
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
PR types
Others
PR changes
APIs
Description
PIR API 推全升级
No.253 paddle.cumulative_trapezoid
No.310 paddle.Tensor.trapezoid
将
paddle.cumulative_trapezoid
迁移升级至 pir,并更新单测 单测覆盖率 9/9将
paddle.Tensor.trapezoid
迁移升级至 pir,并更新单测 单测覆盖率 13/13cumulative_trapezoid和trapezoid 都是调用的 _trapezoid
根据传入参数判断是使用sum还是cumsum。
trapezoid 用sum
cumulative_trapezoid 用 cumsum。
sum和cumsum前期都已完成迁移。