{"action":"created","issue":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/11325","repository_url":"https://api.github.com/repos/pytorch/pytorch","labels_url":"https://api.github.com/repos/pytorch/pytorch/issues/11325/labels{/name}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/11325/comments","events_url":"https://api.github.com/repos/pytorch/pytorch/issues/11325/events","html_url":"https://github.com/pytorch/pytorch/issues/11325","id":357521429,"node_id":"MDU6SXNzdWUzNTc1MjE0Mjk=","number":11325,"title":"[linear-algebra][discussion][proposal] Move linear algebra functions to torch.linalg, at::native::linalg","user":{"login":"vishwakftw","id":23639302,"node_id":"MDQ6VXNlcjIzNjM5MzAy","avatar_url":"https://avatars2.githubusercontent.com/u/23639302?v=4","gravatar_id":"","url":"https://api.github.com/users/vishwakftw","html_url":"https://github.com/vishwakftw","followers_url":"https://api.github.com/users/vishwakftw/followers","following_url":"https://api.github.com/users/vishwakftw/following{/other_user}","gists_url":"https://api.github.com/users/vishwakftw/gists{/gist_id}","starred_url":"https://api.github.com/users/vishwakftw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishwakftw/subscriptions","organizations_url":"https://api.github.com/users/vishwakftw/orgs","repos_url":"https://api.github.com/users/vishwakftw/repos","events_url":"https://api.github.com/users/vishwakftw/events{/privacy}","received_events_url":"https://api.github.com/users/vishwakftw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-06T07:02:18Z","updated_at":"2018-09-07T03:50:11Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I believe we have quite a few linear algebra centric operations excluding the most commonly used ones (`matmul`, `mm`, `mv`, etc.) such as:\r\n- `ger`\r\n- `qr` / `ormqr` / `orgqr` / `geqrf`\r\n- `gesv` / `gels` / `btrifact` (and its variants)\r\n- `triu` / `tril`\r\n- `eig` / `symeig`\r\n- `svd`\r\n- `inverse` / `pinverse`\r\n- `matrix_rank`\r\n- `det` / `logdet` / `slogdet`\r\n\r\nI think it would be nice to organize them as `torch.linalg` analogous to `numpy.linalg`. This would prevent cluttering of the `torch` module while importing `torch`. Also, it would be nice to have these organized in a specific namespace within `ATen` (as `at::native::linalg` for example).\r\n\r\nSome issues might include BC-breaking ones, but if we are looking towards 1.0, I think this might ensure a cleaner API.\r\n\r\nPlease let me know your thoughts about this."},"comment":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/comments/419314186","html_url":"https://github.com/pytorch/pytorch/issues/11325#issuecomment-419314186","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/11325","id":419314186,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTMxNDE4Ng==","user":{"login":"soumith","id":1310570,"node_id":"MDQ6VXNlcjEzMTA1NzA=","avatar_url":"https://avatars0.githubusercontent.com/u/1310570?v=4","gravatar_id":"","url":"https://api.github.com/users/soumith","html_url":"https://github.com/soumith","followers_url":"https://api.github.com/users/soumith/followers","following_url":"https://api.github.com/users/soumith/following{/other_user}","gists_url":"https://api.github.com/users/soumith/gists{/gist_id}","starred_url":"https://api.github.com/users/soumith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumith/subscriptions","organizations_url":"https://api.github.com/users/soumith/orgs","repos_url":"https://api.github.com/users/soumith/repos","events_url":"https://api.github.com/users/soumith/events{/privacy}","received_events_url":"https://api.github.com/users/soumith/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T03:50:11Z","updated_at":"2018-09-07T03:50:11Z","author_association":"MEMBER","body":"by `methods`, do you mean `x.svd()` or `x.linalg.svd()`?\r\n\r\nWe should break down `torch.Tensor` documentation into sections.\r\nOnce we click on `torch.Tensor`, it should expand into categories like `torch.nn`\r\n\r\n<img width=\"297\" alt=\"screen shot 2018-09-06 at 11 49 18 pm\" src=\"https://user-images.githubusercontent.com/1310570/45197476-83d85500-b22f-11e8-9309-d2e2978803b7.png\">\r\n\r\n<img width=\"301\" alt=\"screen shot 2018-09-06 at 11 49 04 pm\" src=\"https://user-images.githubusercontent.com/1310570/45197481-95b9f800-b22f-11e8-8c74-458c3608ba8a.png\">\r\n"}}
{"actor":{"display_login":"soumith"}}