mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Fix incorrect bin edge description in histogramdd docs (#158275)
Fixes #124435 This updates the torch.histogramdd documentation to correctly state that bins are inclusive of their left edges, not exclusive as currently written. There was a previous PR addressing this but it was closed due to inactivity. This picks that up and applies the fix. Pull Request resolved: https://github.com/pytorch/pytorch/pull/158275 Approved by: https://github.com/albanD
This commit is contained in:
parent
5a54db14e3
commit
05d7288e31
|
|
@ -5128,7 +5128,7 @@ For each N-dimensional point in input:
|
|||
If :attr:`bins` is a sequence of N 1D tensors, it explicitly specifies the N sequences
|
||||
of bin edges. Each 1D tensor should contain a strictly increasing sequence with at
|
||||
least one element. A sequence of K bin edges defines K-1 bins, explicitly specifying
|
||||
the left and right edges of all bins. Every bin is exclusive of its left edge. Only
|
||||
the left and right edges of all bins. Every bin is inclusive of its left edge. Only
|
||||
the rightmost bin is inclusive of its right edge.
|
||||
|
||||
If :attr:`bins` is a sequence of N ints, it specifies the number of equal-width bins
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user