Pycharm/Pytorch:查找nn.Module.forward的用法

Pycharm/Pytorch:查找nn.Module.forward的用法,pycharm,ide,pytorch,Pycharm,Ide,Pytorch,然后单击“否”,它只会在代码中明确提到.forward,而不是model(x)调用。如果单击“是”,它会在pytorch源代码中明确提到forward。这能修好吗?是否有其他IDE支持此功能 Pycharm版本: PyCharm 2019.3.3 (Professional Edition) Runtime version: 11.0.5+10-b520.38 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.15.1

然后单击“否”,它只会在代码中明确提到
.forward
,而不是model(x)调用。如果单击“是”,它会在pytorch源代码中明确提到forward。这能修好吗?是否有其他IDE支持此功能

Pycharm版本:

PyCharm 2019.3.3 (Professional Edition)
Runtime version: 11.0.5+10-b520.38 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.1
GC: ParNew, ConcurrentMarkSweep
Memory: 725M
Cores: 12
Registry: 
Non-Bundled Plugins: Key promoter, mobi.hsz.idea.latex, name.kropp.intellij.makefile, net.seesharpsoft.intellij.plugins.csv
model(x)
调用
.forward
\uuuu调用\uuuu
中,但不一定。检查使用特定方法的其他方法并跟踪这一更广泛的使用“树”可能是不可行的,因此我认为没有IDE会为您提供这一点。顺便说一句,我不认为这是一个需要解决的问题。这是您想要的功能。
model(x)
调用
.forward
\uuuuuuu调用中,但不一定。检查使用特定方法的其他方法并跟踪这一更广泛的使用“树”可能是不可行的,因此我认为没有IDE会为您提供这一点。顺便说一句,我不认为这是一个需要解决的问题。这是您想要的功能。