soobinseo/Transformer-TTS

About Mask in your code

Opened this issue · 1 comments

image
The mask of query why be placed after softmax, but not before softmax?

The query mask does not affect softmax for key dimensions because it is only masking for query dimensions. Therefore, you do not need to apply query mask before softmax.

Thanks.