Skip to content

【PIR API adaptor No.298】 Migrate paddle.rot90 into pir - #60193

Merged
changeyoung98 merged 1 commit into
PaddlePaddle:developfrom
changeyoung98:czy-pir
Dec 21, 2023
Merged

changeyoung98 merged 1 commit into
PaddlePaddle:developfrom
changeyoung98:czy-pir

Conversation

@changeyoung98

@changeyoung98 changeyoung98 commented Dec 20, 2023 •

Copy link
Copy Markdown
Contributor

PR types

Others

PR changes

APIs

Description

pcard-67164
PIR API 推全升级
将 paddle.rot90 迁移升级至 pir,并更新单测

单测覆盖率:1/1

@paddle-bot

paddle-bot Bot commented Dec 20, 2023

Copy link
Copy Markdown

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.


helper = LayerHelper("rot90", **locals())
check_type(x, 'X', (Variable), 'rot90')
check_type(x, 'X', (Variable, paddle.pir.OpResult), 'rot90')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

这个需要加value吧

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

这里直接改成Value就可以~

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

好的,下个pr一起修复掉。

@changeyoung98
changeyoung98 merged commit 95d7605 into PaddlePaddle:develop Dec 21, 2023
@changeyoung98
changeyoung98 deleted the czy-pir branch December 21, 2023 03:16
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.

4 participants