For the sake of the “speed” tutorial, one can STILL have the quick speed and still use “max_len” be the maximum sequence length and at the same time be variable length and use the embeddings of the encoder. Using a fixed matrix is just plain lazy and confusing. The max_len isn’t the problem, the fact they used a fixed matrix is.