rntnmodel.py 文件源码

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

项目:SentimentAnalysis 作者: Conchylicultor 项目源码 文件源码
def __init__(self):
        # Tensor layer
        self.dV  = None # Tensor of the RNTN layer
        self.dW  = None # Regular term of the RNTN layer
        self.db  = None # Bias for the regular term of the RNTN layer

        # Softmax
        self.dWs = None # Softmax classifier
        self.dbs = None # Bias of the softmax classifier

        # Words << Contained in the vocab variable
        self.dL  = [] # List of ModelDl (index, dL_i)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号