@ptrblck
i have got tensor of size   bs,seq len, list of targets  for each length
eg.` bs *1* list of target  [132,15,42,24]` 
       bs *2*  list of target [ 132,12,43,49],[1,3,2]

each element of  seq length may have  different length of target list. max value of target assume 100
how can i build Hot encode in the forward method of Model. and then multiply the absolute value of target to generated hot encode vector.