LSTM.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:lesson 作者: SPJ-AI 项目源码 文件源码
def __init__(self, n_vocab, n_units):
        #n_units = ??????????
        super(LSTM, self).__init__(
            embed=L.EmbedID(n_vocab, n_units, ignore_label=-1),
            l1=L.LSTM(n_units, n_units),
            l2=L.Linear(n_units, n_vocab)
        )
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号