layers.py 文件源码

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

项目:gae 作者: tkipf 项目源码 文件源码
def _call(self, inputs):
        x = inputs
        x = dropout_sparse(x, 1-self.dropout, self.features_nonzero)
        x = tf.sparse_tensor_dense_matmul(x, self.vars['weights'])
        x = tf.sparse_tensor_dense_matmul(self.adj, x)
        outputs = self.act(x)
        return outputs
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号