Patt is the attention weights (probability) returned from the encoder-decoder attention module in the Transformer.
when generating the current word yi , the encoder-decoder attention module calculates the probability vector Patt denoting the probabilities of attending to each word in the input table.