I found histc function in new pytorch version and I want to use it to implement my some ideas. but I get a problem that I can only get the statistical result using this function. However, can I get inverse mapping from this result to the input tensor, for example, if I input a tensor with any possible size to torch.histc, how can I get the corresponding frequency and bin index of one tensor value to the histogram result ?
Can you share me with any interesting idea? Thank you ！