Merged
Conversation
|
Thanks for your contribution! |
zhwesky2010
reviewed
Jun 13, 2025
| @@ -3234,7 +3253,8 @@ | |||
| ] | |||
| }, | |||
| "torch.Tensor.positive": { | |||
Collaborator
There was a problem hiding this comment.
torch.Tensor.lu_solve、torch.Tensor.positive能直接对应到 Tensor类方法 吗
Contributor
Author
There was a problem hiding this comment.
我本地实测paddle没有这些类方法
| ] | ||
| }, | ||
| "torch.Tensor.baddbmm": { | ||
| "Matcher": "AddMRMatcher", |
Collaborator
There was a problem hiding this comment.
这些没用的Matcher可以删掉了,或者移到 legacy.py 里去
Contributor
Author
There was a problem hiding this comment.
torch.addmv等API还在用这个Matcher
tests/test_Tensor_bernoulli_.py
Outdated
| obj.run(pytorch_code, ["result"], check_value=False) | ||
|
|
||
|
|
||
| # paddle.Tensor.bernoulli_ parameter p is different from torch, which has bug |
Collaborator
There was a problem hiding this comment.
paddle框架修复这个bug了,可以开启case试试
Collaborator
There was a problem hiding this comment.
好像还没修好
修好了,原因是CI没有更新到最新版本编译的paddle
paconvert/api_mapping.json
Outdated
| "verbose" | ||
| ] | ||
| }, | ||
| "torch.optim.lr_scheduler.LRScheduler": { |
Collaborator
There was a problem hiding this comment.
这个先只写映射文档吧,matcher里先不转换了,因为确实不太好转,基类的设计不同。
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 Docs
PR APIs