Tensorflow搭建bilstm+attention文本分类模型_bilstm tensorflow 分类-CSDN博客

网站介绍:文章浏览阅读7.9k次,点赞5次,收藏47次。# 构建模型class BiLSTMAttention(object): """ Text CNN 用于文本分类 """ def __init__(self, config, wordEmbedding): # 定义模型的输入 self.inputX = tf.placeholder(tf.int32, [None, confi..._bilstm tensorflow 分类