1. torch.gather(input, dim, index, out=None)
深入理解PyTorch中的gather函数_m0_48319758的博客-CSDN博客
Pytorch中的torch.gather函数的含义_兔角与禅-CSDN博客_gather函数
2. torch.repeat()
PyTorch中tensor.repeat()的使用_Learning-CSDN博客_torch.repeat
3. torch.multinomial(input, num_samples, replacement=False, out=None)
对于torch.multinomial()的理解_猫敷雪-CSDN博客
对torch.multinomial()的理解 - 知乎
4. torch.scatter_(input, dim, index, src)
PyTorch笔记之 scatter() 函数 - 那少年和狗 - 博客园
5. torch.nn.LSTM()
LSTM细节分析理解(pytorch版) - 知乎
torch.nn.LSTM()详解_xhsun的博客-CSDN博客_nn.lstm



