【PIR API adaptor No.206、207】 Migrate paddle.sign/sinh into pir #58377
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
APIs
Description
No.206 sign
No.207 sinh
PIR API 推全升级
将
paddle.sign
迁移升级至 pir,并更新单测 单测覆盖率:3/6TODO:目前缺少适配
test/legacy_test/test_sign.py
内TestSignDoubleGradCheck
和TestSignTripleGradCheck
的单测。原因是当前不支持
gradient_checker.double_grad_check
和gradient_checker.triple_grad_check
在 pir 体系下运行,具体的适配问题包括但不限于:目前缺少从 python 端获取 OpResult.name 的支持
将
paddle.sinh
迁移升级至 pir,并更新单测 单测覆盖率:6/6