-
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
[NewIR] No.40-41 Migrate paddle.tanh and paddle.transpose into pir #57248
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
tanh对应的单测只有test/cinn/ops/test_tanh_op.py,是在这里进行单测验证的吗? |
在test/legacy_test/test_activation_op.py里,有个TestTanh的单测 |
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.
transpose前向到反向的调用已经支持:#57279,可以拉取最新代码进行rerun
|
||
def test_check_grad(self): | ||
self.check_grad(['X'], 'Out', check_prim=True) | ||
self.check_grad(['X'], 'Out', check_prim=True, check_new_ir=True) | ||
|
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.
transpose的单测还有一些未开启,请将此文件中所有涉及transpose算子的单测开启new_ir flag
@changeyoung98 辛苦review下~ |
…addlePaddle#57248) * tanh and transpose in new ir * fix tanh test * Update test_transpose_op.py
…addlePaddle#57248) * tanh and transpose in new ir * fix tanh test * Update test_transpose_op.py
PR types
Others
PR changes
APIs
Description
Migrate paddle.tanh into pir
Migrate paddle.transpose into pir
【开源任务】新 IR API 推全升级 #57097