greedy_decoder代码预测的输入序列是一个个生成的 defgreedy_decoder(model,enc_input,start_symbol):"""贪心编码For simplicity, a Greedy Decoder is Beam search when K=1. This is necessary for inference as we don't know thetarget sequence input. Therefore we try to generate the target input word ...