Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…6367) Summary: Fixes #45664 This PR adds a note to the documentation for `torch.clamp()` to alert users to a special case: If `min` is greater than `max`, all values are set to the `max` value. Also, an example was added after the first code example. And this one is referenced in the note. Pull Request resolved: #56367 Reviewed By: ezyang Differential Revision: D27960553 Pulled By: mruberry fbshipit-source-id: 9dc6016ccacebe87c809a0dd9f557b4aea0ae6f5
- Loading branch information