Thank you very much !
I want to ask another question .
Do you know how much the speed  will be reduced using this step by step method if the ‘cache’ mechanism is not implemented ?
It seems that every single generation step the whole source text will pass the encoder model . However, It only needs to pass once.