Open tyongguang opened 5 years ago
In eval function, is it better to use “tf.while_loop”for this loop?
I don't understand the conditional sentence in the loop, it always false。
if tf.reduce_sum(y_hat, 1) == self.token2idx[""]: break
In eval function, is it better to use “tf.while_loop”for this loop?