DenseLayer.py 文件源码

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

项目:DocumentClassification 作者: liu-nlper 项目源码 文件源码
def get_pre_y(self):
        # TODO ???
        # pre_y = tf.reshape(tf.round(tf.sigmoid(self._output)), [-1])
        pre_y = tf.arg_max(input=self._output, dimension=1)
        return pre_y
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号