Environment data
- Language Server version: ms-python.python v2024.2.1, ms-python.debugpy v2024.2.0, ms-python.vscode-pylance v2024.2.3
- OS and version: Arch Linux with the latest packages
- Python version (& distribution if applicable, e.g. Anaconda): Python 3.12.2 installed using conda
Code Snippet
import torch
torch.nn.Conv2d()
Repro Steps
- Right-click on the function of interest or use CTRL+Click
Expected behavior
There should be the Go to Definition option that allows one to inspect the implementation of that function.
Actual behavior
There is no Go to Definition option.
Screenshots

