in the task of NLP, such as neural machine translation, the source sentences have different length, if I want to put a batch in the RNN, they must have the same length.
I have read many examples but they only put one sample in the RNN at a time, I wonder if I padding zeros when use word embeddings before input the network, does it work?  will these zeros change my final consequence or not?
I want to know how to do this job best