Title: Intellisense doesnt work for all Pytorch methods · Issue #5643 · microsoft/vscode-python · GitHub
Open Graph Title: Intellisense doesnt work for all Pytorch methods · Issue #5643 · microsoft/vscode-python
X Title: Intellisense doesnt work for all Pytorch methods · Issue #5643 · microsoft/vscode-python
Description: Environment data VS Code version: 1.33.1/1.34.0 Extension version (available under the Extensions sidebar): 2019.4.12954 OS and version: Windows_NT x64 10.0.17763 Python version (& distribution if applicable, e.g. Anaconda): 3.6.7 Anacon...
Open Graph Description: Environment data VS Code version: 1.33.1/1.34.0 Extension version (available under the Extensions sidebar): 2019.4.12954 OS and version: Windows_NT x64 10.0.17763 Python version (& distribution if ...
X Description: Environment data VS Code version: 1.33.1/1.34.0 Extension version (available under the Extensions sidebar): 2019.4.12954 OS and version: Windows_NT x64 10.0.17763 Python version (& distribution...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/5643
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Intellisense doesnt work for all Pytorch methods","articleBody":"## Environment data\r\n\r\n- VS Code version: **1.33.1/1.34.0**\r\n- Extension version (available under the Extensions sidebar): **2019.4.12954**\r\n- OS and version: **Windows_NT x64 10.0.17763**\r\n- Python version (& distribution if applicable, e.g. Anaconda): **3.6.7 Anaconda3**\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): **N/A**\r\n- Relevant/affected Python packages and their versions: **Pytorch 1.0.0** and **1.1.0**\r\n\r\n## Expected behaviour\r\n\r\nIntellisense should work on Pytorch methods as well but it does not!\r\n\r\n## Actual behaviour\r\n\r\nIt wont work on methods such as `mm`, `matmul`, `mul`, `from_numpy`, `sum`, `randn`, `tensor`, `exp`, `empty` `arange`, `zeros`, `cat` ,etc as described [here ](https://github.com/pytorch/pytorch/issues/16996) in details.\r\n\r\n## Steps to reproduce:\r\n1. Simply try to use one of the aforementioned torch methods such as `sum`, `empty`,`randn`,`tensor`,etc\r\n\r\n## Logs\r\nOutput for `Python` in the `Output` panel (`View`→`Output`, change the drop-down the upper-right of the `Output` panel to `Python`)\r\n\r\n```\r\nStarting Jedi Python language engine.\r\n##########Linting Output - pylint##########\r\n************* Module lesson4_1\r\n9,19,error,no-member:Module 'torch' has no 'exp' member\r\n15,11,error,no-member:Module 'torch' has no 'randn' member\r\n16,10,error,no-member:Module 'torch' has no 'randn_like' member\r\n17,7,error,no-member:Module 'torch' has no 'randn' member\r\n20,4,error,no-member:Module 'torch' has no 'sum' member\r\n23,0,error,no-member:Module 'torch' has no 'empty' member\r\n\r\n----------------------------------------------------------------------\r\n\r\nYour code has been rated at -11.43/10 (previous run: -11.43/10, +0.00)\r\n``` \r\n","author":{"url":"https://github.com/Coderx7","@type":"Person","name":"Coderx7"},"datePublished":"2019-05-16T05:09:26Z","url":"https://github.com/microsoft/vscode-python/issues/5643"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c5e8c386-f47e-dc9c-02be-7a7abbef670d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9FB2:32EBEA:840A8A:B43D08:6AFE71E6 |
| html-safe-nonce | 9d27c01cf1b8e2586f68d19031372526778f98235ecab63af2dda2f8bc5cf94b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkIyOjMyRUJFQTo4NDBBOEE6QjQzRDA4OjZBRkU3MUU2IiwidmlzaXRvcl9pZCI6IjY2MTM5NTg0NDc0NDIzMjU5OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c44ab6708d1e33fe765f15cd87a79ab82d940ccbf1aa092e733a28705a9455d7 |
| hovercard-subject-tag | issue:444756774 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-python/5643/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0f5c5a15b12935737cc237685dc5aee0823dc88c88a98e14e3cccf818c7ce7ce/microsoft/vscode-python/issues/5643 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0f5c5a15b12935737cc237685dc5aee0823dc88c88a98e14e3cccf818c7ce7ce/microsoft/vscode-python/issues/5643 |
| og:image:alt | Environment data VS Code version: 1.33.1/1.34.0 Extension version (available under the Extensions sidebar): 2019.4.12954 OS and version: Windows_NT x64 10.0.17763 Python version (& distribution if ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Coderx7 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 106462765 |
| octolytics-dimension-repository_nwo | microsoft/vscode-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 49946255 |
| octolytics-dimension-repository_parent_nwo | DonJayamanne/pythonVSCode |
| octolytics-dimension-repository_network_root_id | 49946255 |
| octolytics-dimension-repository_network_root_nwo | DonJayamanne/pythonVSCode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width