Skip to content

Commit 0122a5d

Browse files
committed
removed double definition
1 parent 73b3369 commit 0122a5d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

joeynmt/encoders.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ def __init__(self,
204204
self.norm_out = nn.LayerNorm(2 * hidden_size if bidirectional else hidden_size)
205205
if self.emb_norm:
206206
self.norm_emb = nn.LayerNorm(emb_size)
207-
self.same_weights = same_weights
208207

209208
rnn = nn.GRU if rnn_type == "gru" else nn.LSTM
210209

0 commit comments

Comments
 (0)