-
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
[IR] Support static build function for op builder #54197
[IR] Support static build function for op builder #54197
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
✅ This PR's description meets the template requirements! |
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
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
New features
PR changes
Others
Description
本 pr 是 op builder 机制完善 pr:
在 op 定义的自动代码生成逻辑中添加 build 函数的自动生成逻辑,每个 op class 都将包含一个静态的 build 成员方法:
在 op builder 将借助该方法实现 operation 的构造,具体的使用示例如下:
Todo
Other
Pcard-67164