-
Notifications
You must be signed in to change notification settings - Fork 24.2k
added documentation for masked_fill and masked_fill_ #149285
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/149285
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit f3ac95b with merge base 916e897 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
Didn't find following labels among repository labels: release notes: torch_docs |
Didn't find following labels among repository labels: topic: documentation |
@pytorchbot label "topic: docs" |
@pytorchbot label " release notes: python_frontend" |
@@ -6587,6 +6596,14 @@ def callable(a, b) -> number | |||
masked_fill(mask, value) -> Tensor | |||
|
|||
Out-of-place version of :meth:`torch.Tensor.masked_fill_` |
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.
Hi, I think this page is intentionally left without docs to prevent duplication. (Here's a link to torch.Tensor.masked_fill_
for users)
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.
so @zeshengzong is the example for the masked_fill_ is valid? because the masked_fill don't have the example aswell
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
Fixes #149284
Added examples in the documentation of masked_fill and masked_fill_