您好,计算lens_logits 时为什么要多加一个1?
MTCai opened this issue · 1 comments
MTCai commented
lens_logits = tf.nn.softmax(
-(tf.abs(lens_reshape - self.options.avglen) + 1), -1)
WingsBrokenAngel commented
To make softmax smoother which was inspired by Laplace smoothing.