提交 2baf006d 编写于 作者: S suweiyue

1. fix mp_reader queue, 2. fix erniesagev2 biasattr

上级 434be194
......@@ -48,9 +48,6 @@ class ErnieSageV2(BaseNet):
cls = L.fill_constant_batch_size_like(src_feat["term_ids"], [-1, 1, 1], "int64", 1)
src_ids = L.concat([cls, src_feat["term_ids"]], 1)
dst_ids = dst_feat["term_ids"]
# cls = L.fill_constant_batch_size_like(dst_feat["term_ids"], [-1, 1, 1], "int64", 1)
# src_ids = L.concat([cls, dst_feat["term_ids"]], 1)
# dst_ids = src_feat["term_ids"]
# sent_ids
sent_ids = L.concat([L.zeros_like(src_ids), L.ones_like(dst_ids)], 1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册