啥都提示不出来
我甚至都写了a:torch.Tensor=xxxxx这样了,IDE 还是没办法推断这是一个 torch.Tensor 吗
写起来好难受,是我方法不对吗
1
ipwx 2021 年 9 月 28 日
习惯了就好了 doge
|
2
mxT52CRuqR6o5 2021 年 9 月 28 日
invalidate cache 试试呢
|
3
Morriaty 2021 年 9 月 28 日
我的能提示诶,版本也比较老了
PyCharm 2020.1.1 (Professional Edition) Build #PY-201.7223.92, built on April 30, 2020 |
4
xyfan 2021 年 9 月 29 日
试试 kite ?
|
5
zxCoder OP |