提交 ed192fd2 编写于 作者: Z Zeyu Chen

remove useless code

上级 e1f07674
......@@ -58,7 +58,6 @@ def module_fn(trainable=False):
name="words", shape=[1], lod_level=1, dtype="int64")
# create embedding
# emb_name = "{}:embedding".format(module_scope)
emb_name = "embedding"
emb_param_attr = fluid.ParamAttr(name=emb_name, trainable=trainable)
word_emb = fluid.layers.embedding(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册