seq2seq.AttentionWrapperState中的_compute_attention
AttentionWrapperState中的函数_compute_attention()理解:
GitHub源码地址
def _compute_attention(attention_mechanism, cell_output, attention_state,
attention_layer):
"""Computes the attent...
原创
2019-02-20 16:34:53 ·
813 阅读 ·
0 评论