bincount(x, weights=None, minlength=None)¶
Count number of occurrences of each value in array of non-negative ints.
- The result of binning the input array. The length of
output is equal to
max(cupy.max(x) + 1, minlength).
This function may synchronize the device.