转载请注明出处: https://blog.csdn.net/qq_33427047/article/details/81320098
Sequence-to-Sequence Models中会有一个 output_projection 参数,它是什么意思呢?
以 embedding_attention_seq2seq() 函数为例:
def embedding_attention_seq2seq(encoder_inputs,
decoder_inputs,
cell,
num_encoder_symbols,
num_decoder_symbols,
embedding_size,
num_heads=1,
output_projection=None,
feed_previous=Fals