I have sequences of sensor measurements and I need to classify what the sensors are measuring. It is a sequence to class kind of problem. I looked at using nn.Transformer but it expects the target to be of shape (N,T,E) and I only have a class number. Is there a work around to input only a class label or is nn.Transform the wrong solution? Thanks.