in mode.py file
line 130 、 132 。
130: self.per_sentence_loss = tf.div(tf.reduce_sum(self.per_word_loss, 1),
tf.reduce_sum(_mask, 1))
132: self.per_sentence_loss = tf.reduce_sum(self.per_word_loss, 1)
here
why same code definition and it not used in after code
thanks