LSTM classification pytorch