提交 b8f73d12 编写于 作者: Z zhangjcqq 提交者: GitHub

delete redundant code

上级 891867ec
...@@ -122,7 +122,7 @@ std_default = ParameterAttribute(initial_std=default_std) ...@@ -122,7 +122,7 @@ std_default = ParameterAttribute(initial_std=default_std)
word_embedding = embedding_layer(size=word_dim, input=word, param_attr=emb_para) word_embedding = embedding_layer(size=word_dim, input=word, param_attr=emb_para)
predicate_embedding = embedding_layer(size=word_dim, input=predicate, param_attr=ParameterAttribute(name='vemb',initial_std=default_std)) predicate_embedding = embedding_layer(size=word_dim, input=predicate, param_attr=ParameterAttribute(name='vemb',initial_std=default_std))
ctx_n2_embedding = embedding_layer(size=word_dim, input=ctx_n2, param_attr=emb_para)
ctx_n2_embedding = embedding_layer(size=word_dim, input=ctx_n2, param_attr=emb_para) ctx_n2_embedding = embedding_layer(size=word_dim, input=ctx_n2, param_attr=emb_para)
ctx_n1_embedding = embedding_layer(size=word_dim, input=ctx_n1, param_attr=emb_para) ctx_n1_embedding = embedding_layer(size=word_dim, input=ctx_n1, param_attr=emb_para)
ctx_0_embedding = embedding_layer(size=word_dim, input=ctx_0, param_attr=emb_para) ctx_0_embedding = embedding_layer(size=word_dim, input=ctx_0, param_attr=emb_para)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册