Thand you very much for your reply!
There are just many underlines in my pycharm projects. Such as the following:

And the IDE gives me many hints like: Can not find reference ‘stack’ in init.py.
And there many hints like this in my pycharm projects. For example, torch.device，torch.float, torch.double…