{"action":"created","comment":{"url":"https://api.github.com/repos/pytorch/pytorch/pulls/comments/171090799","pull_request_review_id":99878444,"id":171090799,"diff_hunk":"@@ -5,10 +5,13 @@\n #include <sstream>\n \n #include \"torch/csrc/assertions.h\"\n+#include \"torch/csrc/Dtype.h\"\n+#include \"torch/csrc/DynamicTypes.h\"\n #include \"torch/csrc/Exceptions.h\"\n #include \"torch/csrc/autograd/variable.h\"\n #include \"torch/csrc/autograd/python_variable.h\"\n #include \"torch/csrc/autograd/generated/VariableType.h\"\n+#include \"torch/csrc/autograd/utils/wrap_outputs.h\"","path":"torch/csrc/tensor/python_tensor.cpp","position":10,"original_position":10,"commit_id":"2922aa5f21c36746daa3ae22edb00fc807d4f99b","original_commit_id":"2922aa5f21c36746daa3ae22edb00fc807d4f99b","user":{"login":"colesbury","id":655866,"avatar_url":"https://avatars1.githubusercontent.com/u/655866?v=4","gravatar_id":"","url":"https://api.github.com/users/colesbury","html_url":"https://github.com/colesbury","followers_url":"https://api.github.com/users/colesbury/followers","following_url":"https://api.github.com/users/colesbury/following{/other_user}","gists_url":"https://api.github.com/users/colesbury/gists{/gist_id}","starred_url":"https://api.github.com/users/colesbury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colesbury/subscriptions","organizations_url":"https://api.github.com/users/colesbury/orgs","repos_url":"https://api.github.com/users/colesbury/repos","events_url":"https://api.github.com/users/colesbury/events{/privacy}","received_events_url":"https://api.github.com/users/colesbury/received_events","type":"User","site_admin":false},"body":"What's this doing here?","created_at":"2018-02-27T22:37:56Z","updated_at":"2018-02-27T22:38:17Z","html_url":"https://github.com/pytorch/pytorch/pull/5444#discussion_r171090799","pull_request_url":"https://api.github.com/repos/pytorch/pytorch/pulls/5444","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/comments/171090799"},"html":{"href":"https://github.com/pytorch/pytorch/pull/5444#discussion_r171090799"},"pull_request":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/5444"}}},"pull_request":{"url":"https://api.github.com/repos/pytorch/pytorch/pulls/5444","id":171801090,"html_url":"https://github.com/pytorch/pytorch/pull/5444","diff_url":"https://github.com/pytorch/pytorch/pull/5444.diff","patch_url":"https://github.com/pytorch/pytorch/pull/5444.patch","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/5444","number":5444,"state":"open","locked":false,"title":"Add dtype to torch.Tensor constructors and accept them in set_default_tensor_type","user":{"login":"gchanan","id":3768583,"avatar_url":"https://avatars2.githubusercontent.com/u/3768583?v=4","gravatar_id":"","url":"https://api.github.com/users/gchanan","html_url":"https://github.com/gchanan","followers_url":"https://api.github.com/users/gchanan/followers","following_url":"https://api.github.com/users/gchanan/following{/other_user}","gists_url":"https://api.github.com/users/gchanan/gists{/gist_id}","starred_url":"https://api.github.com/users/gchanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gchanan/subscriptions","organizations_url":"https://api.github.com/users/gchanan/orgs","repos_url":"https://api.github.com/users/gchanan/repos","events_url":"https://api.github.com/users/gchanan/events{/privacy}","received_events_url":"https://api.github.com/users/gchanan/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-27T22:17:26Z","updated_at":"2018-02-27T22:38:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a93014e0e48f0a2a96ee80882477440e7464950","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pytorch/pytorch/pulls/5444/commits","review_comments_url":"https://api.github.com/repos/pytorch/pytorch/pulls/5444/comments","review_comment_url":"https://api.github.com/repos/pytorch/pytorch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/5444/comments","statuses_url":"https://api.github.com/repos/pytorch/pytorch/statuses/2922aa5f21c36746daa3ae22edb00fc807d4f99b","head":{"label":"gchanan:merge_dtype_tensor_type","ref":"merge_dtype_tensor_type","sha":"2922aa5f21c36746daa3ae22edb00fc807d4f99b","user":{"login":"gchanan","id":3768583,"avatar_url":"https://avatars2.githubusercontent.com/u/3768583?v=4","gravatar_id":"","url":"https://api.github.com/users/gchanan","html_url":"https://github.com/gchanan","followers_url":"https://api.github.com/users/gchanan/followers","following_url":"https://api.github.com/users/gchanan/following{/other_user}","gists_url":"https://api.github.com/users/gchanan/gists{/gist_id}","starred_url":"https://api.github.com/users/gchanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gchanan/subscriptions","organizations_url":"https://api.github.com/users/gchanan/orgs","repos_url":"https://api.github.com/users/gchanan/repos","events_url":"https://api.github.com/users/gchanan/events{/privacy}","received_events_url":"https://api.github.com/users/gchanan/received_events","type":"User","site_admin":false},"repo":{"id":88906627,"name":"pytorch","full_name":"gchanan/pytorch","owner":{"login":"gchanan","id":3768583,"avatar_url":"https://avatars2.githubusercontent.com/u/3768583?v=4","gravatar_id":"","url":"https://api.github.com/users/gchanan","html_url":"https://github.com/gchanan","followers_url":"https://api.github.com/users/gchanan/followers","following_url":"https://api.github.com/users/gchanan/following{/other_user}","gists_url":"https://api.github.com/users/gchanan/gists{/gist_id}","starred_url":"https://api.github.com/users/gchanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gchanan/subscriptions","organizations_url":"https://api.github.com/users/gchanan/orgs","repos_url":"https://api.github.com/users/gchanan/repos","events_url":"https://api.github.com/users/gchanan/events{/privacy}","received_events_url":"https://api.github.com/users/gchanan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gchanan/pytorch","description":"Tensors and Dynamic neural networks in Python  with strong GPU acceleration","fork":true,"url":"https://api.github.com/repos/gchanan/pytorch","forks_url":"https://api.github.com/repos/gchanan/pytorch/forks","keys_url":"https://api.github.com/repos/gchanan/pytorch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gchanan/pytorch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gchanan/pytorch/teams","hooks_url":"https://api.github.com/repos/gchanan/pytorch/hooks","issue_events_url":"https://api.github.com/repos/gchanan/pytorch/issues/events{/number}","events_url":"https://api.github.com/repos/gchanan/pytorch/events","assignees_url":"https://api.github.com/repos/gchanan/pytorch/assignees{/user}","branches_url":"https://api.github.com/repos/gchanan/pytorch/branches{/branch}","tags_url":"https://api.github.com/repos/gchanan/pytorch/tags","blobs_url":"https://api.github.com/repos/gchanan/pytorch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gchanan/pytorch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gchanan/pytorch/git/refs{/sha}","trees_url":"https://api.github.com/repos/gchanan/pytorch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gchanan/pytorch/statuses/{sha}","languages_url":"https://api.github.com/repos/gchanan/pytorch/languages","stargazers_url":"https://api.github.com/repos/gchanan/pytorch/stargazers","contributors_url":"https://api.github.com/repos/gchanan/pytorch/contributors","subscribers_url":"https://api.github.com/repos/gchanan/pytorch/subscribers","subscription_url":"https://api.github.com/repos/gchanan/pytorch/subscription","commits_url":"https://api.github.com/repos/gchanan/pytorch/commits{/sha}","git_commits_url":"https://api.github.com/repos/gchanan/pytorch/git/commits{/sha}","comments_url":"https://api.github.com/repos/gchanan/pytorch/comments{/number}","issue_comment_url":"https://api.github.com/repos/gchanan/pytorch/issues/comments{/number}","contents_url":"https://api.github.com/repos/gchanan/pytorch/contents/{+path}","compare_url":"https://api.github.com/repos/gchanan/pytorch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gchanan/pytorch/merges","archive_url":"https://api.github.com/repos/gchanan/pytorch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gchanan/pytorch/downloads","issues_url":"https://api.github.com/repos/gchanan/pytorch/issues{/number}","pulls_url":"https://api.github.com/repos/gchanan/pytorch/pulls{/number}","milestones_url":"https://api.github.com/repos/gchanan/pytorch/milestones{/number}","notifications_url":"https://api.github.com/repos/gchanan/pytorch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gchanan/pytorch/labels{/name}","releases_url":"https://api.github.com/repos/gchanan/pytorch/releases{/id}","deployments_url":"https://api.github.com/repos/gchanan/pytorch/deployments","created_at":"2017-04-20T20:14:16Z","updated_at":"2017-09-07T17:19:12Z","pushed_at":"2018-02-27T22:22:56Z","git_url":"git://github.com/gchanan/pytorch.git","ssh_url":"git@github.com:gchanan/pytorch.git","clone_url":"https://github.com/gchanan/pytorch.git","svn_url":"https://github.com/gchanan/pytorch","homepage":"http://pytorch.org","size":27476,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"pytorch:master","ref":"master","sha":"6b95ca4edacb5ab739daa89fdef3f69f22f4f24f","user":{"login":"pytorch","id":21003710,"avatar_url":"https://avatars3.githubusercontent.com/u/21003710?v=4","gravatar_id":"","url":"https://api.github.com/users/pytorch","html_url":"https://github.com/pytorch","followers_url":"https://api.github.com/users/pytorch/followers","following_url":"https://api.github.com/users/pytorch/following{/other_user}","gists_url":"https://api.github.com/users/pytorch/gists{/gist_id}","starred_url":"https://api.github.com/users/pytorch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytorch/subscriptions","organizations_url":"https://api.github.com/users/pytorch/orgs","repos_url":"https://api.github.com/users/pytorch/repos","events_url":"https://api.github.com/users/pytorch/events{/privacy}","received_events_url":"https://api.github.com/users/pytorch/received_events","type":"Organization","site_admin":false},"repo":{"id":65600975,"name":"pytorch","full_name":"pytorch/pytorch","owner":{"login":"pytorch","id":21003710,"avatar_url":"https://avatars3.githubusercontent.com/u/21003710?v=4","gravatar_id":"","url":"https://api.github.com/users/pytorch","html_url":"https://github.com/pytorch","followers_url":"https://api.github.com/users/pytorch/followers","following_url":"https://api.github.com/users/pytorch/following{/other_user}","gists_url":"https://api.github.com/users/pytorch/gists{/gist_id}","starred_url":"https://api.github.com/users/pytorch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytorch/subscriptions","organizations_url":"https://api.github.com/users/pytorch/orgs","repos_url":"https://api.github.com/users/pytorch/repos","events_url":"https://api.github.com/users/pytorch/events{/privacy}","received_events_url":"https://api.github.com/users/pytorch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pytorch/pytorch","description":"Tensors and Dynamic neural networks in Python  with strong GPU acceleration","fork":false,"url":"https://api.github.com/repos/pytorch/pytorch","forks_url":"https://api.github.com/repos/pytorch/pytorch/forks","keys_url":"https://api.github.com/repos/pytorch/pytorch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pytorch/pytorch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pytorch/pytorch/teams","hooks_url":"https://api.github.com/repos/pytorch/pytorch/hooks","issue_events_url":"https://api.github.com/repos/pytorch/pytorch/issues/events{/number}","events_url":"https://api.github.com/repos/pytorch/pytorch/events","assignees_url":"https://api.github.com/repos/pytorch/pytorch/assignees{/user}","branches_url":"https://api.github.com/repos/pytorch/pytorch/branches{/branch}","tags_url":"https://api.github.com/repos/pytorch/pytorch/tags","blobs_url":"https://api.github.com/repos/pytorch/pytorch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pytorch/pytorch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pytorch/pytorch/git/refs{/sha}","trees_url":"https://api.github.com/repos/pytorch/pytorch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pytorch/pytorch/statuses/{sha}","languages_url":"https://api.github.com/repos/pytorch/pytorch/languages","stargazers_url":"https://api.github.com/repos/pytorch/pytorch/stargazers","contributors_url":"https://api.github.com/repos/pytorch/pytorch/contributors","subscribers_url":"https://api.github.com/repos/pytorch/pytorch/subscribers","subscription_url":"https://api.github.com/repos/pytorch/pytorch/subscription","commits_url":"https://api.github.com/repos/pytorch/pytorch/commits{/sha}","git_commits_url":"https://api.github.com/repos/pytorch/pytorch/git/commits{/sha}","comments_url":"https://api.github.com/repos/pytorch/pytorch/comments{/number}","issue_comment_url":"https://api.github.com/repos/pytorch/pytorch/issues/comments{/number}","contents_url":"https://api.github.com/repos/pytorch/pytorch/contents/{+path}","compare_url":"https://api.github.com/repos/pytorch/pytorch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pytorch/pytorch/merges","archive_url":"https://api.github.com/repos/pytorch/pytorch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pytorch/pytorch/downloads","issues_url":"https://api.github.com/repos/pytorch/pytorch/issues{/number}","pulls_url":"https://api.github.com/repos/pytorch/pytorch/pulls{/number}","milestones_url":"https://api.github.com/repos/pytorch/pytorch/milestones{/number}","notifications_url":"https://api.github.com/repos/pytorch/pytorch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pytorch/pytorch/labels{/name}","releases_url":"https://api.github.com/repos/pytorch/pytorch/releases{/id}","deployments_url":"https://api.github.com/repos/pytorch/pytorch/deployments","created_at":"2016-08-13T05:26:41Z","updated_at":"2018-02-27T21:29:52Z","pushed_at":"2018-02-27T22:37:23Z","git_url":"git://github.com/pytorch/pytorch.git","ssh_url":"git@github.com:pytorch/pytorch.git","clone_url":"https://github.com/pytorch/pytorch.git","svn_url":"https://github.com/pytorch/pytorch","homepage":"http://pytorch.org","size":23458,"stargazers_count":12566,"watchers_count":12566,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2634,"mirror_url":null,"archived":false,"open_issues_count":753,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":2634,"open_issues":753,"watchers":12566,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/5444"},"html":{"href":"https://github.com/pytorch/pytorch/pull/5444"},"issue":{"href":"https://api.github.com/repos/pytorch/pytorch/issues/5444"},"comments":{"href":"https://api.github.com/repos/pytorch/pytorch/issues/5444/comments"},"review_comments":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/5444/comments"},"review_comment":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/5444/commits"},"statuses":{"href":"https://api.github.com/repos/pytorch/pytorch/statuses/2922aa5f21c36746daa3ae22edb00fc807d4f99b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"colesbury"}}