Hi @tom @thompa2
I have a same problem with histc and backward.().
I want to count L1 and L2, Sikhon loss based on the histogram and do backward.(), but it is not possible.
What did you do as a solution to use histogram in your loss?
I would appreciate your help