From b8f73d12754f6c3c702b5107026069bdf3a28f18 Mon Sep 17 00:00:00 2001 From: zhangjcqq <664122220@qq.com> Date: Tue, 15 Nov 2016 11:08:51 +0800 Subject: [PATCH] delete redundant code --- demo/semantic_role_labeling/db_lstm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/semantic_role_labeling/db_lstm.py b/demo/semantic_role_labeling/db_lstm.py index 68feb9c4a..32dcd0748 100644 --- a/demo/semantic_role_labeling/db_lstm.py +++ b/demo/semantic_role_labeling/db_lstm.py @@ -122,7 +122,7 @@ std_default = ParameterAttribute(initial_std=default_std) 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)) -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_0_embedding = embedding_layer(size=word_dim, input=ctx_0, param_attr=emb_para) -- GitLab