Open xxxxyan opened 5 years ago
Hello,SeoSangwoo!Thank you for sharing such valuable code. I would like to ask you a question about the code,why did you use tf.reduce_sum here to reduce dimensions?is it the beat way? I would appreciate it if you could answer my questions.
output = tf.reduce_sum(inputs * tf.expand_dims(alphas, -1), 1)
Hello,SeoSangwoo!Thank you for sharing such valuable code. I would like to ask you a question about the code,why did you use tf.reduce_sum here to reduce dimensions?is it the beat way? I would appreciate it if you could answer my questions.
output = tf.reduce_sum(inputs * tf.expand_dims(alphas, -1), 1)