[PIR] Migrate paddle.nn.Sigmoid into pir #58144
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.nn.Sigmoid
迁移升级至 new ir,并更新单测 本 pr 进行补充.paddle.nn.Sigmoid
中包含paddle.nn.functional.sigmoid
调用,故一起进行适配单测覆盖率:8/14
备注:
test/legacy_test/test_nn_sigmoid_op.py
内的静态图测试涉及base.backward.append_backward
函数,当前版本会报错:当前版本反向传播机制对 pir api 适配还不完善,待完善后会继续补充与反向传播相关的单测
部分静态图单测未切换到 pir 体系下,后续需补充
缺失
TestMKLDNNSigmoidBF16Op
单测