-
Notifications
You must be signed in to change notification settings - Fork 42
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
转换规则 No.334 #212
转换规则 No.334 #212
Conversation
Thanks for your contribution! |
"Matcher": "RoundMatcher", | ||
"args_list": [ | ||
"input", | ||
"decimals", |
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.
注意:转换规则 需要与 映射关系文档 保持同步,彼此互相验证,互相校正
如果已有映射文档,就在PR描述里写上:已有文档且检查无误
如果没有映射文档,就需要先编写与转换规则思路一致的文档
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.
已修改文档 PR PaddlePaddle/docs#6080
映射文档也需要修一下,torch的API文档有时也有一些bug,后面发现了都可以修 |
已修改 |
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.
LGTM
PR Docs
#112
334 torch.special.round
torch.special.round 是 torch.round别名,测试支持decimals 参数,文档中没有说明
已有文档 https://github.com/PaddlePaddle/docs/blob/96d13d280b5a77d0716ccb48541425ffa1a81ac9/docs/guides/model_convert/convert_from_pytorch/api_difference/others/torch.special.round.md#L4
PR APIs