gmftbyGMFTBY / MultiTurnDialogZoo

Multi-turn dialogue baselines written in PyTorch
MIT License
162 stars 23 forks source link

output = output[:, :, :self.hidden_size] + output[:, :, self.hidden_size:],why? #11

Open Asymptote0902 opened 3 years ago

Asymptote0902 commented 3 years ago

您好,看了您的代码之后对encoder部分的这个不是很明白,能方便解释一下这行代码的意义或者作用吗

gmftbyGMFTBY commented 3 years ago

回复晚了非常抱歉,这一句是为了兼容encoder和decoder的