Could you explain your use case a bit?
How would you rebin the one-hot vector? Just considering multiple entries in the original tensor as one bin in the new one?
Another side question: what do you need the one-hot tensor for?