Open abucka opened 3 years ago
Hi,
I try to visualise attention masks based on the output of SavedModel. What is the meaning of real_len variable in visualise_attention function and why is the attention mask convolved with [0.199547,0.200226,0.200454,0.200226,0.199547]?
Hi,
I try to visualise attention masks based on the output of SavedModel. What is the meaning of real_len variable in visualise_attention function and why is the attention mask convolved with [0.199547,0.200226,0.200454,0.200226,0.199547]?