[PIR] Migrate paddle.cos into pir #58137
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR types
Others
PR changes
Others
Description
新 IR API 推全升级
将
paddle.cos
迁移升级至 new ir,并更新单测单测覆盖率:6/8
备注:目前缺少适配
test/legacy_test/test_activation_nn_grad.py
内TestCosDoubleGradCheck
和TestCosTripleGradCheck
的单测,原因是当前不支持gradient_checker.double_grad_check
和gradient_checker.triple_grad_check
在 pir 体系下运行,具体的适配问题包括但不限于:目前缺少从 python 端获取 OpResult.name 的支持 ...后续做自动微分推全工作的时候,可以进行支持