[API Compatibility No.114] update torch.masked_fill docs for input kwarg compatibility -part#7753
Open
Aidenwu0209 wants to merge 3 commits intoPaddlePaddle:developfrom
Open
Conversation
…arg compatibility -part
|
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7753.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
This was referenced Feb 15, 2026
📚 本次 PR 文档预览链接(点击展开)
|
- Revert category from invalid "参数名兼容" to valid "仅参数名不一致" - Fix PaddlePaddle param column from "x / input" to "x" (matches signature) - Keep input kwarg compatibility info in remarks Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
zhwesky2010
reviewed
Mar 3, 2026
Collaborator
zhwesky2010
left a comment
There was a problem hiding this comment.
需要修改的是masked_fill_cn.rst这个文档
Collaborator
There was a problem hiding this comment.
如果完全对齐了,直接删掉这个api_difference文档。
Contributor
Author
There was a problem hiding this comment.
已修改,删除了 api_difference 文档,改为更新 masked_fill_cn.rst 添加 input 别名关键字参数的说明。
…n.rst Per reviewer feedback: - Remove torch.masked_fill.md since API params are now fully aligned - Update masked_fill_cn.rst to document `input` as alias for `x` kwarg Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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 Category
User Experience
PR Types
New features
Description
torch.masked_fillconversion doc to reflect latest compatibility.x=and torch-styleinput=keyword usage.Related PRs