推荐学习书目
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 · Jan 9, 2024 · 2449 views
    This topic created in 855 days ago, the information mentioned may be changed or developed.

    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 replies    2024-01-09 17:46:48 +08:00
    q11391
        1
    q11391  
       Jan 9, 2024
    还是用 webstorm 吧
    q11391
        2
    q11391  
       Jan 9, 2024
    看错了
    @q11391
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2800 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 15:44 · PVG 23:44 · LAX 08:44 · JFK 11:44
    ♥ Do have faith in what you're doing.