V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
punkdead
V2EX  ›  Python

为啥 pycharm 总是无法完美提示 ts 的函数?

  •  
  •   punkdead · 110 天前 · 931 次点击
    这是一个创建于 110 天前的主题,其中的信息可能已经有所发展或是发生改变。

    v = tf.Variable(initial_value=tf.random.normal(shape=(3, 1))) print(v) # 用 assign 赋值 v.assign(tf.ones(shape=(3, 1))) print(v) # 改变其中某一个元素也是可以的 v[0, 0].assign(3.) print(v)

    比如说 assign 这个方法就提示不出来 .random.normal 也是一样

    是 idebug 还是我配置的有问题?

    有些函数可以提示出来

    2 条回复    2024-01-09 17:46:48 +08:00
    q11391
        1
    q11391  
       109 天前
    还是用 webstorm 吧
    q11391
        2
    q11391  
       109 天前
    看错了
    @q11391
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3912 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 04:15 · PVG 12:15 · LAX 21:15 · JFK 00:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.