Working with python3.7
In the terminal I can do: from torch.nn.modules.activation import MultiheadAttention
But in Pycharm, it says "cannot reference in ‘activation.pyi’. Indeed, I checked and MultiheadAttention exists in activation.py but not in activation.pyi.
Is that an error that should be reported?