def create_decoder(self, **kwargs): return create_seq2seq_decoder(self.tgt_embedding, **kwargs)
def init_decoder(self, tgt_embedding, **kwargs): return create_seq2seq_decoder(tgt_embedding, **kwargs)