pytorch
d61d8d88 - correct value argument name for Tensor.index_fill_ docs (#51763)

Commit
3 years ago
correct value argument name for Tensor.index_fill_ docs (#51763) Summary: The name of "val" is inconsistent with the rest of the API and also inconsistent with the underlying C++ implementation. Pull Request resolved: https://github.com/pytorch/pytorch/pull/51763 Test Plan: Used the following command to demonstrate incorrect docs before and correct docs after: python -c 'import torch; print(torch.Tensor.index_fill_.__doc__)' Fixes https://github.com/pytorch/pytorch/issues/51250 Reviewed By: zhangguanheng66 Differential Revision: D26271273 Pulled By: dagitses fbshipit-source-id: 4897da80b639c54ca652d2111e13f26efe2646a0
Author
Michael Dagitses
Parents
Loading