File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ def _build_model(self):
128128 self .enc_outputs = concat_v2 (
129129 [self .first_decoder_input , self .enc_outputs ], axis = 1 )
130130
131- with tf .variable_scope ("dencoder " ):
131+ with tf .variable_scope ("decoder " ):
132132 self .idx_pairs = index_matrix_to_pairs (self .dec_targets )
133133 self .embeded_dec_inputs = tf .stop_gradient (
134134 tf .gather_nd (self .enc_outputs , self .idx_pairs ))
@@ -160,7 +160,7 @@ def _build_model(self):
160160 self .dec_pred = tf .argmax (
161161 self .dec_pred_logits , 2 , name = "dec_pred" )
162162
163- with tf .variable_scope ("dencoder " , reuse = True ):
163+ with tf .variable_scope ("decoder " , reuse = True ):
164164 self .dec_inference_logits , _ , _ = decoder_rnn (
165165 self .dec_cell , self .first_decoder_input ,
166166 self .enc_outputs , self .enc_final_states ,
You can’t perform that action at this time.
0 commit comments