Hot encode tensor [1,10,11,12] assume  batch size of 10
2  multiply respective hot encode vector with absolute value  like 1,10 11,12 .  00 1 10 11 12 000…

I m generating 128 dim size  embeddings  of each encode vector   through linear layer  with in feature as length of encode vector .
I dont get desired results if I directly pass hot encode of 0 1 to linear layer so want to try with absolute values