{"action":"opened","number":6340,"pull_request":{"url":"https://api.github.com/repos/pytorch/pytorch/pulls/6340","id":179861991,"html_url":"https://github.com/pytorch/pytorch/pull/6340","diff_url":"https://github.com/pytorch/pytorch/pull/6340.diff","patch_url":"https://github.com/pytorch/pytorch/pull/6340.patch","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/6340","number":6340,"state":"open","locked":false,"title":"Generic version of pixel_shuffle - 1d, 2d, ..., nd","user":{"login":"lindsaywatt","id":6947134,"avatar_url":"https://avatars1.githubusercontent.com/u/6947134?v=4","gravatar_id":"","url":"https://api.github.com/users/lindsaywatt","html_url":"https://github.com/lindsaywatt","followers_url":"https://api.github.com/users/lindsaywatt/followers","following_url":"https://api.github.com/users/lindsaywatt/following{/other_user}","gists_url":"https://api.github.com/users/lindsaywatt/gists{/gist_id}","starred_url":"https://api.github.com/users/lindsaywatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindsaywatt/subscriptions","organizations_url":"https://api.github.com/users/lindsaywatt/orgs","repos_url":"https://api.github.com/users/lindsaywatt/repos","events_url":"https://api.github.com/users/lindsaywatt/events{/privacy}","received_events_url":"https://api.github.com/users/lindsaywatt/received_events","type":"User","site_admin":false},"body":"Been implementing a CNN and needed a 1D pixel shuffle, I saw PR #5051 which someone made a 3D version, saw the comments asking for a generic version, here is my attempt. First PR to a major repo, sorry if I've done something terribly wrong. Thanks.\r\n\r\n","created_at":"2018-04-06T06:10:44Z","updated_at":"2018-04-06T06:10:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pytorch/pytorch/pulls/6340/commits","review_comments_url":"https://api.github.com/repos/pytorch/pytorch/pulls/6340/comments","review_comment_url":"https://api.github.com/repos/pytorch/pytorch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/6340/comments","statuses_url":"https://api.github.com/repos/pytorch/pytorch/statuses/6c6a2ffbb3715173b7ce15b2c9e1aa853bff3cbf","head":{"label":"lindsaywatt:master","ref":"master","sha":"6c6a2ffbb3715173b7ce15b2c9e1aa853bff3cbf","user":{"login":"lindsaywatt","id":6947134,"avatar_url":"https://avatars1.githubusercontent.com/u/6947134?v=4","gravatar_id":"","url":"https://api.github.com/users/lindsaywatt","html_url":"https://github.com/lindsaywatt","followers_url":"https://api.github.com/users/lindsaywatt/followers","following_url":"https://api.github.com/users/lindsaywatt/following{/other_user}","gists_url":"https://api.github.com/users/lindsaywatt/gists{/gist_id}","starred_url":"https://api.github.com/users/lindsaywatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindsaywatt/subscriptions","organizations_url":"https://api.github.com/users/lindsaywatt/orgs","repos_url":"https://api.github.com/users/lindsaywatt/repos","events_url":"https://api.github.com/users/lindsaywatt/events{/privacy}","received_events_url":"https://api.github.com/users/lindsaywatt/received_events","type":"User","site_admin":false},"repo":{"id":128332477,"name":"pytorch","full_name":"lindsaywatt/pytorch","owner":{"login":"lindsaywatt","id":6947134,"avatar_url":"https://avatars1.githubusercontent.com/u/6947134?v=4","gravatar_id":"","url":"https://api.github.com/users/lindsaywatt","html_url":"https://github.com/lindsaywatt","followers_url":"https://api.github.com/users/lindsaywatt/followers","following_url":"https://api.github.com/users/lindsaywatt/following{/other_user}","gists_url":"https://api.github.com/users/lindsaywatt/gists{/gist_id}","starred_url":"https://api.github.com/users/lindsaywatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindsaywatt/subscriptions","organizations_url":"https://api.github.com/users/lindsaywatt/orgs","repos_url":"https://api.github.com/users/lindsaywatt/repos","events_url":"https://api.github.com/users/lindsaywatt/events{/privacy}","received_events_url":"https://api.github.com/users/lindsaywatt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lindsaywatt/pytorch","description":"Tensors and Dynamic neural networks in Python  with strong GPU acceleration","fork":true,"url":"https://api.github.com/repos/lindsaywatt/pytorch","forks_url":"https://api.github.com/repos/lindsaywatt/pytorch/forks","keys_url":"https://api.github.com/repos/lindsaywatt/pytorch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lindsaywatt/pytorch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lindsaywatt/pytorch/teams","hooks_url":"https://api.github.com/repos/lindsaywatt/pytorch/hooks","issue_events_url":"https://api.github.com/repos/lindsaywatt/pytorch/issues/events{/number}","events_url":"https://api.github.com/repos/lindsaywatt/pytorch/events","assignees_url":"https://api.github.com/repos/lindsaywatt/pytorch/assignees{/user}","branches_url":"https://api.github.com/repos/lindsaywatt/pytorch/branches{/branch}","tags_url":"https://api.github.com/repos/lindsaywatt/pytorch/tags","blobs_url":"https://api.github.com/repos/lindsaywatt/pytorch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lindsaywatt/pytorch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lindsaywatt/pytorch/git/refs{/sha}","trees_url":"https://api.github.com/repos/lindsaywatt/pytorch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lindsaywatt/pytorch/statuses/{sha}","languages_url":"https://api.github.com/repos/lindsaywatt/pytorch/languages","stargazers_url":"https://api.github.com/repos/lindsaywatt/pytorch/stargazers","contributors_url":"https://api.github.com/repos/lindsaywatt/pytorch/contributors","subscribers_url":"https://api.github.com/repos/lindsaywatt/pytorch/subscribers","subscription_url":"https://api.github.com/repos/lindsaywatt/pytorch/subscription","commits_url":"https://api.github.com/repos/lindsaywatt/pytorch/commits{/sha}","git_commits_url":"https://api.github.com/repos/lindsaywatt/pytorch/git/commits{/sha}","comments_url":"https://api.github.com/repos/lindsaywatt/pytorch/comments{/number}","issue_comment_url":"https://api.github.com/repos/lindsaywatt/pytorch/issues/comments{/number}","contents_url":"https://api.github.com/repos/lindsaywatt/pytorch/contents/{+path}","compare_url":"https://api.github.com/repos/lindsaywatt/pytorch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lindsaywatt/pytorch/merges","archive_url":"https://api.github.com/repos/lindsaywatt/pytorch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lindsaywatt/pytorch/downloads","issues_url":"https://api.github.com/repos/lindsaywatt/pytorch/issues{/number}","pulls_url":"https://api.github.com/repos/lindsaywatt/pytorch/pulls{/number}","milestones_url":"https://api.github.com/repos/lindsaywatt/pytorch/milestones{/number}","notifications_url":"https://api.github.com/repos/lindsaywatt/pytorch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lindsaywatt/pytorch/labels{/name}","releases_url":"https://api.github.com/repos/lindsaywatt/pytorch/releases{/id}","deployments_url":"https://api.github.com/repos/lindsaywatt/pytorch/deployments","created_at":"2018-04-06T04:44:08Z","updated_at":"2018-04-06T06:04:10Z","pushed_at":"2018-04-06T06:04:09Z","git_url":"git://github.com/lindsaywatt/pytorch.git","ssh_url":"git@github.com:lindsaywatt/pytorch.git","clone_url":"https://github.com/lindsaywatt/pytorch.git","svn_url":"https://github.com/lindsaywatt/pytorch","homepage":"http://pytorch.org","size":48664,"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":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pytorch:master","ref":"master","sha":"81676d8554fe6ae37a1b5e9c637caef8ad2d5f30","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-04-06T05:18:24Z","pushed_at":"2018-04-06T05:31:17Z","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":48667,"stargazers_count":13738,"watchers_count":13738,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2986,"mirror_url":null,"archived":false,"open_issues_count":889,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":2986,"open_issues":889,"watchers":13738,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/6340"},"html":{"href":"https://github.com/pytorch/pytorch/pull/6340"},"issue":{"href":"https://api.github.com/repos/pytorch/pytorch/issues/6340"},"comments":{"href":"https://api.github.com/repos/pytorch/pytorch/issues/6340/comments"},"review_comments":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/6340/comments"},"review_comment":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/6340/commits"},"statuses":{"href":"https://api.github.com/repos/pytorch/pytorch/statuses/6c6a2ffbb3715173b7ce15b2c9e1aa853bff3cbf"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":32,"deletions":15,"changed_files":1}}
{"actor":{"display_login":"lindsaywatt"}}