{"action":"created","comment":{"url":"https://api.github.com/repos/pytorch/pytorch/pulls/comments/232866389","pull_request_review_id":174154719,"id":232866389,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjg2NjM4OQ==","diff_hunk":"@@ -65,7 +65,8 @@ class TTLinearOp final : public Operator<Context> {\n \n       // TODO Replace by Reshape(), once wrappers are written\n       Y_buf->Resize(Y_buf->numel() / curr_rows, curr_rows);\n-      Y->Resize(Y_buf->numel() / curr_rows, curr_cols);\n+      Y = Output(\n+          0, {Y_buf->numel() / curr_rows, curr_cols}, at::dtype<float>());","path":"caffe2/operators/tt_linear_op.h","position":22,"original_position":22,"commit_id":"cb3dc3e5064f10a0e9e0f3929908d372b3eb929c","original_commit_id":"cb3dc3e5064f10a0e9e0f3929908d372b3eb929c","user":{"login":"smessmer","id":2373925,"node_id":"MDQ6VXNlcjIzNzM5MjU=","avatar_url":"https://avatars3.githubusercontent.com/u/2373925?v=4","gravatar_id":"","url":"https://api.github.com/users/smessmer","html_url":"https://github.com/smessmer","followers_url":"https://api.github.com/users/smessmer/followers","following_url":"https://api.github.com/users/smessmer/following{/other_user}","gists_url":"https://api.github.com/users/smessmer/gists{/gist_id}","starred_url":"https://api.github.com/users/smessmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smessmer/subscriptions","organizations_url":"https://api.github.com/users/smessmer/orgs","repos_url":"https://api.github.com/users/smessmer/repos","events_url":"https://api.github.com/users/smessmer/events{/privacy}","received_events_url":"https://api.github.com/users/smessmer/received_events","type":"User","site_admin":false},"body":"Below, they use `mutable_data<T>`. Sure you want to use `float` here instead?","created_at":"2018-11-13T01:17:18Z","updated_at":"2018-11-13T01:21:47Z","html_url":"https://github.com/pytorch/pytorch/pull/13856#discussion_r232866389","pull_request_url":"https://api.github.com/repos/pytorch/pytorch/pulls/13856","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/comments/232866389"},"html":{"href":"https://github.com/pytorch/pytorch/pull/13856#discussion_r232866389"},"pull_request":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/13856"}}},"pull_request":{"url":"https://api.github.com/repos/pytorch/pytorch/pulls/13856","id":230244910,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwMjQ0OTEw","html_url":"https://github.com/pytorch/pytorch/pull/13856","diff_url":"https://github.com/pytorch/pytorch/pull/13856.diff","patch_url":"https://github.com/pytorch/pytorch/pull/13856.patch","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/13856","number":13856,"state":"open","locked":false,"title":"Tensor construction: combine Resize+mutable_data - 4/4","user":{"login":"jerryzh168","id":4958441,"node_id":"MDQ6VXNlcjQ5NTg0NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/4958441?v=4","gravatar_id":"","url":"https://api.github.com/users/jerryzh168","html_url":"https://github.com/jerryzh168","followers_url":"https://api.github.com/users/jerryzh168/followers","following_url":"https://api.github.com/users/jerryzh168/following{/other_user}","gists_url":"https://api.github.com/users/jerryzh168/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryzh168/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryzh168/subscriptions","organizations_url":"https://api.github.com/users/jerryzh168/orgs","repos_url":"https://api.github.com/users/jerryzh168/repos","events_url":"https://api.github.com/users/jerryzh168/events{/privacy}","received_events_url":"https://api.github.com/users/jerryzh168/received_events","type":"User","site_admin":false},"body":"Summary:\nCodemod generated with clangr shard mode, 25 files per diff,\nmotivation: https://github.com/pytorch/pytorch/pull/12407\n\nDifferential Revision: D13007310\n","created_at":"2018-11-12T19:34:39Z","updated_at":"2018-11-13T01:21:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae6f7a6bad37fa596589c8ff0250b086adaa317d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pytorch/pytorch/pulls/13856/commits","review_comments_url":"https://api.github.com/repos/pytorch/pytorch/pulls/13856/comments","review_comment_url":"https://api.github.com/repos/pytorch/pytorch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/13856/comments","statuses_url":"https://api.github.com/repos/pytorch/pytorch/statuses/cb3dc3e5064f10a0e9e0f3929908d372b3eb929c","head":{"label":"jerryzh168:export-D13007310","ref":"export-D13007310","sha":"cb3dc3e5064f10a0e9e0f3929908d372b3eb929c","user":{"login":"jerryzh168","id":4958441,"node_id":"MDQ6VXNlcjQ5NTg0NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/4958441?v=4","gravatar_id":"","url":"https://api.github.com/users/jerryzh168","html_url":"https://github.com/jerryzh168","followers_url":"https://api.github.com/users/jerryzh168/followers","following_url":"https://api.github.com/users/jerryzh168/following{/other_user}","gists_url":"https://api.github.com/users/jerryzh168/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryzh168/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryzh168/subscriptions","organizations_url":"https://api.github.com/users/jerryzh168/orgs","repos_url":"https://api.github.com/users/jerryzh168/repos","events_url":"https://api.github.com/users/jerryzh168/events{/privacy}","received_events_url":"https://api.github.com/users/jerryzh168/received_events","type":"User","site_admin":false},"repo":{"id":127473547,"node_id":"MDEwOlJlcG9zaXRvcnkxMjc0NzM1NDc=","name":"pytorch","full_name":"jerryzh168/pytorch","private":false,"owner":{"login":"jerryzh168","id":4958441,"node_id":"MDQ6VXNlcjQ5NTg0NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/4958441?v=4","gravatar_id":"","url":"https://api.github.com/users/jerryzh168","html_url":"https://github.com/jerryzh168","followers_url":"https://api.github.com/users/jerryzh168/followers","following_url":"https://api.github.com/users/jerryzh168/following{/other_user}","gists_url":"https://api.github.com/users/jerryzh168/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryzh168/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryzh168/subscriptions","organizations_url":"https://api.github.com/users/jerryzh168/orgs","repos_url":"https://api.github.com/users/jerryzh168/repos","events_url":"https://api.github.com/users/jerryzh168/events{/privacy}","received_events_url":"https://api.github.com/users/jerryzh168/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jerryzh168/pytorch","description":"Tensors and Dynamic neural networks in Python  with strong GPU acceleration","fork":true,"url":"https://api.github.com/repos/jerryzh168/pytorch","forks_url":"https://api.github.com/repos/jerryzh168/pytorch/forks","keys_url":"https://api.github.com/repos/jerryzh168/pytorch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jerryzh168/pytorch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jerryzh168/pytorch/teams","hooks_url":"https://api.github.com/repos/jerryzh168/pytorch/hooks","issue_events_url":"https://api.github.com/repos/jerryzh168/pytorch/issues/events{/number}","events_url":"https://api.github.com/repos/jerryzh168/pytorch/events","assignees_url":"https://api.github.com/repos/jerryzh168/pytorch/assignees{/user}","branches_url":"https://api.github.com/repos/jerryzh168/pytorch/branches{/branch}","tags_url":"https://api.github.com/repos/jerryzh168/pytorch/tags","blobs_url":"https://api.github.com/repos/jerryzh168/pytorch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jerryzh168/pytorch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jerryzh168/pytorch/git/refs{/sha}","trees_url":"https://api.github.com/repos/jerryzh168/pytorch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jerryzh168/pytorch/statuses/{sha}","languages_url":"https://api.github.com/repos/jerryzh168/pytorch/languages","stargazers_url":"https://api.github.com/repos/jerryzh168/pytorch/stargazers","contributors_url":"https://api.github.com/repos/jerryzh168/pytorch/contributors","subscribers_url":"https://api.github.com/repos/jerryzh168/pytorch/subscribers","subscription_url":"https://api.github.com/repos/jerryzh168/pytorch/subscription","commits_url":"https://api.github.com/repos/jerryzh168/pytorch/commits{/sha}","git_commits_url":"https://api.github.com/repos/jerryzh168/pytorch/git/commits{/sha}","comments_url":"https://api.github.com/repos/jerryzh168/pytorch/comments{/number}","issue_comment_url":"https://api.github.com/repos/jerryzh168/pytorch/issues/comments{/number}","contents_url":"https://api.github.com/repos/jerryzh168/pytorch/contents/{+path}","compare_url":"https://api.github.com/repos/jerryzh168/pytorch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jerryzh168/pytorch/merges","archive_url":"https://api.github.com/repos/jerryzh168/pytorch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jerryzh168/pytorch/downloads","issues_url":"https://api.github.com/repos/jerryzh168/pytorch/issues{/number}","pulls_url":"https://api.github.com/repos/jerryzh168/pytorch/pulls{/number}","milestones_url":"https://api.github.com/repos/jerryzh168/pytorch/milestones{/number}","notifications_url":"https://api.github.com/repos/jerryzh168/pytorch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jerryzh168/pytorch/labels{/name}","releases_url":"https://api.github.com/repos/jerryzh168/pytorch/releases{/id}","deployments_url":"https://api.github.com/repos/jerryzh168/pytorch/deployments","created_at":"2018-03-30T21:12:12Z","updated_at":"2018-04-18T23:21:17Z","pushed_at":"2018-11-12T19:34:37Z","git_url":"git://github.com/jerryzh168/pytorch.git","ssh_url":"git@github.com:jerryzh168/pytorch.git","clone_url":"https://github.com/jerryzh168/pytorch.git","svn_url":"https://github.com/jerryzh168/pytorch","homepage":"http://pytorch.org","size":84723,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pytorch:master","ref":"master","sha":"bf00008aa1b4777d49792ebc2502a29571984106","user":{"login":"pytorch","id":21003710,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDAzNzEw","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,"node_id":"MDEwOlJlcG9zaXRvcnk2NTYwMDk3NQ==","name":"pytorch","full_name":"pytorch/pytorch","private":false,"owner":{"login":"pytorch","id":21003710,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDAzNzEw","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},"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-11-13T01:00:33Z","pushed_at":"2018-11-13T01:15:34Z","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":86923,"stargazers_count":21092,"watchers_count":21092,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5019,"mirror_url":null,"archived":false,"open_issues_count":2109,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":5019,"open_issues":2109,"watchers":21092,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/13856"},"html":{"href":"https://github.com/pytorch/pytorch/pull/13856"},"issue":{"href":"https://api.github.com/repos/pytorch/pytorch/issues/13856"},"comments":{"href":"https://api.github.com/repos/pytorch/pytorch/issues/13856/comments"},"review_comments":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/13856/comments"},"review_comment":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/13856/commits"},"statuses":{"href":"https://api.github.com/repos/pytorch/pytorch/statuses/cb3dc3e5064f10a0e9e0f3929908d372b3eb929c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"smessmer"}}