digitize(x, bins, right=False)¶
Finds the indices of the bins to which each value in input array belongs.
In order to avoid device synchronization, digitize does not raise an exception when the array is not monotonic
Output array of indices, of same shape as
- Return type