Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix torch.bucketize docs for "right"
The docs correctly (i.e matching actual op behavior) state that `right = False` means `boundaries[i-1] < input[m][n]...[l][x] <= boundaries[i]`. However they previously stated that `If 'right' is False (default), then the left boundary is closed.` which contradicts the `boundaries[i-1] < input[m][n]...[l][x] <= boundaries[i]` statement. This modifies the docs to say `... then the left boundary is OPEN.` and also clarifies that this is the opposite behavior of numpy.digitize. ghstack-source-id: 641dc9124bc6075dfe15faaf70ff29a5e843e612 Pull Request resolved: #104474
- Loading branch information