[IR] add op_operand api for ir::Operation. by winter-wang · Pull Request #54875 · PaddlePaddle/Paddle
Navigation Menu
{{ message }}
PaddlePaddle / Paddle Public
- Notifications You must be signed in to change notification settings
- Fork 6k
Merged
winter-wang merged 1 commit intoPaddlePaddle:developfrom
Jun 28, 2023Merged
[IR] add op_operand api for ir::Operation.#54875
winter-wang merged 1 commit intoPaddlePaddle:developfrom
[IR] add op_operand api for ir::Operation.#54875
winter-wang merged 1 commit intoPaddlePaddle:developfrom
Conversation
Copy link
Contributor
PR types
New features
PR changes
APIs
Description
- 提供ir::Operation::op_operand(index) 接口,返回该Operation的第index个操作数。返回值是ir::OpOperand.
- 提供ir::Operation::operand(index) 接口,返回该Operation的第index个操作数对应的变量。返回值是ir::Value. 该接口类似于op_operand(index).source.
- 将ir::OperaitonArgument的AddTypes接口重命名为AddOutputs.
Other
Pcard-67164
Copy link
paddle-bot
bot
commented
Jun 26, 2023
paddle-bot bot commented
Jun 26, 2023你的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.
winter-wang
force-pushed
the
ir_develop
branch
5 times, most recently
from
364d406 to
98f6cbc
Compare
zhangbo9674 previously approved these changes Jun 26, 2023
Copy link
Contributor
zhangbo9674
left a comment
zhangbo9674
left a comment
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
winter-wang
dismissed
zhangbo9674’s stale review
via
79a884b
winter-wang
force-pushed
the
ir_develop
branch
4 times, most recently
from
4d007f8 to
a0d1a7e
Compare
winter-wang
force-pushed
the
ir_develop
branch
from
a0d1a7e to
673bf64
Compare
winter-wang
requested a review
from Aurelius84
Aurelius84 approved these changes Jun 27, 2023
winter-wang
merged commit
c3077ec
into
PaddlePaddle:develop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment