torch.utils.bottleneck to profile the code.
But I got some import error as follow:
File "./benchmark/csm/gnn.py", line 17, in <module> from ...data import sc as snc ImportError: attempted relative import with no known parent package
How can I use ‘torch.utils.bottleneck’ to profile my code without modifying my project code? Because there are a lot of
from ...xx import xx as xx in my project.