What's the use of `coverage` in the forward pass for GlobalAttention?

pytorch

(Nikhil Verma) #1

The docstring says that coverage is not supported yet. I wonder what was the intention originally? I also wonder what’s the use of the code block below. Can someone provide a reference?