{"action":"created","issue":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/9281","repository_url":"https://api.github.com/repos/pytorch/pytorch","labels_url":"https://api.github.com/repos/pytorch/pytorch/issues/9281/labels{/name}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/9281/comments","events_url":"https://api.github.com/repos/pytorch/pytorch/issues/9281/events","html_url":"https://github.com/pytorch/pytorch/pull/9281","id":339583082,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwMjAxMTI5","number":9281,"title":"Add eye_like","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":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-07-09T19:48:17Z","updated_at":"2018-07-14T03:45:33Z","closed_at":"2018-07-13T20:35:16Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/pytorch/pytorch/pulls/9281","html_url":"https://github.com/pytorch/pytorch/pull/9281","diff_url":"https://github.com/pytorch/pytorch/pull/9281.diff","patch_url":"https://github.com/pytorch/pytorch/pull/9281.patch"},"body":"Closes #9244 \r\n\r\nAdded doc string and tests."},"comment":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/comments/404996038","html_url":"https://github.com/pytorch/pytorch/pull/9281#issuecomment-404996038","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/9281","id":404996038,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDk5NjAzOA==","user":{"login":"ezyang","id":13564,"node_id":"MDQ6VXNlcjEzNTY0","avatar_url":"https://avatars0.githubusercontent.com/u/13564?v=4","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false},"created_at":"2018-07-14T03:45:33Z","updated_at":"2018-07-14T03:45:33Z","author_association":"CONTRIBUTOR","body":"@vadimkantorov Your grievance is legit, and I remember mentioning this to Greg a while back.\r\n\r\nBasically, we want this: `torch.eye(some_shape, **x.options())` (or some similar name; options is what we're calling it in C++). This would be a very useful addition, and should not be hard to code at al."}}
{"actor":{"display_login":"ezyang"}}