提交 dde6178e 编写于 作者: P peterzhang2029

fix dssm

上级 08d1882e
......@@ -151,7 +151,7 @@ class DSSM(object):
logger.info("create a sequence_conv_pool which context width is 4")
conv_4 = create_conv(4, self.dnn_dims[1], "cnn")
return conv_3, conv_4
return paddle.layer.concat(input=[conv_3, conv_4])
def create_dnn(self, sent_vec, prefix):
# if more than three layers, than a fc layer will be added.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册