{"action":"opened","number":254,"pull_request":{"url":"https://api.github.com/repos/torch/nn/pulls/254","id":34484643,"html_url":"https://github.com/torch/nn/pull/254","diff_url":"https://github.com/torch/nn/pull/254.diff","patch_url":"https://github.com/torch/nn/pull/254.patch","issue_url":"https://api.github.com/repos/torch/nn/issues/254","number":254,"state":"open","locked":false,"title":"Add :cudaOn(device) to cuda nn modules","user":{"login":"adamlerer","id":5702157,"avatar_url":"https://avatars.githubusercontent.com/u/5702157?v=3","gravatar_id":"","url":"https://api.github.com/users/adamlerer","html_url":"https://github.com/adamlerer","followers_url":"https://api.github.com/users/adamlerer/followers","following_url":"https://api.github.com/users/adamlerer/following{/other_user}","gists_url":"https://api.github.com/users/adamlerer/gists{/gist_id}","starred_url":"https://api.github.com/users/adamlerer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamlerer/subscriptions","organizations_url":"https://api.github.com/users/adamlerer/orgs","repos_url":"https://api.github.com/users/adamlerer/repos","events_url":"https://api.github.com/users/adamlerer/events{/privacy}","received_events_url":"https://api.github.com/users/adamlerer/received_events","type":"User","site_admin":false},"body":"Extend cutorch :cudaOn(device) convenience method to cunn modules.\r\nTests are in cunn.","created_at":"2015-04-30T17:56:31Z","updated_at":"2015-04-30T17:56:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/torch/nn/pulls/254/commits","review_comments_url":"https://api.github.com/repos/torch/nn/pulls/254/comments","review_comment_url":"https://api.github.com/repos/torch/nn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/torch/nn/issues/254/comments","statuses_url":"https://api.github.com/repos/torch/nn/statuses/6c0d5a1ea6dfb2f51d05c98bd5b990b828568beb","head":{"label":"adamlerer:auto_device","ref":"auto_device","sha":"6c0d5a1ea6dfb2f51d05c98bd5b990b828568beb","user":{"login":"adamlerer","id":5702157,"avatar_url":"https://avatars.githubusercontent.com/u/5702157?v=3","gravatar_id":"","url":"https://api.github.com/users/adamlerer","html_url":"https://github.com/adamlerer","followers_url":"https://api.github.com/users/adamlerer/followers","following_url":"https://api.github.com/users/adamlerer/following{/other_user}","gists_url":"https://api.github.com/users/adamlerer/gists{/gist_id}","starred_url":"https://api.github.com/users/adamlerer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamlerer/subscriptions","organizations_url":"https://api.github.com/users/adamlerer/orgs","repos_url":"https://api.github.com/users/adamlerer/repos","events_url":"https://api.github.com/users/adamlerer/events{/privacy}","received_events_url":"https://api.github.com/users/adamlerer/received_events","type":"User","site_admin":false},"repo":{"id":30397566,"name":"nn","full_name":"adamlerer/nn","owner":{"login":"adamlerer","id":5702157,"avatar_url":"https://avatars.githubusercontent.com/u/5702157?v=3","gravatar_id":"","url":"https://api.github.com/users/adamlerer","html_url":"https://github.com/adamlerer","followers_url":"https://api.github.com/users/adamlerer/followers","following_url":"https://api.github.com/users/adamlerer/following{/other_user}","gists_url":"https://api.github.com/users/adamlerer/gists{/gist_id}","starred_url":"https://api.github.com/users/adamlerer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamlerer/subscriptions","organizations_url":"https://api.github.com/users/adamlerer/orgs","repos_url":"https://api.github.com/users/adamlerer/repos","events_url":"https://api.github.com/users/adamlerer/events{/privacy}","received_events_url":"https://api.github.com/users/adamlerer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adamlerer/nn","description":"","fork":true,"url":"https://api.github.com/repos/adamlerer/nn","forks_url":"https://api.github.com/repos/adamlerer/nn/forks","keys_url":"https://api.github.com/repos/adamlerer/nn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adamlerer/nn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adamlerer/nn/teams","hooks_url":"https://api.github.com/repos/adamlerer/nn/hooks","issue_events_url":"https://api.github.com/repos/adamlerer/nn/issues/events{/number}","events_url":"https://api.github.com/repos/adamlerer/nn/events","assignees_url":"https://api.github.com/repos/adamlerer/nn/assignees{/user}","branches_url":"https://api.github.com/repos/adamlerer/nn/branches{/branch}","tags_url":"https://api.github.com/repos/adamlerer/nn/tags","blobs_url":"https://api.github.com/repos/adamlerer/nn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adamlerer/nn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adamlerer/nn/git/refs{/sha}","trees_url":"https://api.github.com/repos/adamlerer/nn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adamlerer/nn/statuses/{sha}","languages_url":"https://api.github.com/repos/adamlerer/nn/languages","stargazers_url":"https://api.github.com/repos/adamlerer/nn/stargazers","contributors_url":"https://api.github.com/repos/adamlerer/nn/contributors","subscribers_url":"https://api.github.com/repos/adamlerer/nn/subscribers","subscription_url":"https://api.github.com/repos/adamlerer/nn/subscription","commits_url":"https://api.github.com/repos/adamlerer/nn/commits{/sha}","git_commits_url":"https://api.github.com/repos/adamlerer/nn/git/commits{/sha}","comments_url":"https://api.github.com/repos/adamlerer/nn/comments{/number}","issue_comment_url":"https://api.github.com/repos/adamlerer/nn/issues/comments{/number}","contents_url":"https://api.github.com/repos/adamlerer/nn/contents/{+path}","compare_url":"https://api.github.com/repos/adamlerer/nn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adamlerer/nn/merges","archive_url":"https://api.github.com/repos/adamlerer/nn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adamlerer/nn/downloads","issues_url":"https://api.github.com/repos/adamlerer/nn/issues{/number}","pulls_url":"https://api.github.com/repos/adamlerer/nn/pulls{/number}","milestones_url":"https://api.github.com/repos/adamlerer/nn/milestones{/number}","notifications_url":"https://api.github.com/repos/adamlerer/nn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adamlerer/nn/labels{/name}","releases_url":"https://api.github.com/repos/adamlerer/nn/releases{/id}","created_at":"2015-02-06T05:56:16Z","updated_at":"2015-02-06T05:56:16Z","pushed_at":"2015-04-30T17:55:33Z","git_url":"git://github.com/adamlerer/nn.git","ssh_url":"git@github.com:adamlerer/nn.git","clone_url":"https://github.com/adamlerer/nn.git","svn_url":"https://github.com/adamlerer/nn","homepage":null,"size":1039,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"torch:master","ref":"master","sha":"dc3831e730493afd49de586476aaf942f8999e2b","user":{"login":"torch","id":4978924,"avatar_url":"https://avatars.githubusercontent.com/u/4978924?v=3","gravatar_id":"","url":"https://api.github.com/users/torch","html_url":"https://github.com/torch","followers_url":"https://api.github.com/users/torch/followers","following_url":"https://api.github.com/users/torch/following{/other_user}","gists_url":"https://api.github.com/users/torch/gists{/gist_id}","starred_url":"https://api.github.com/users/torch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torch/subscriptions","organizations_url":"https://api.github.com/users/torch/orgs","repos_url":"https://api.github.com/users/torch/repos","events_url":"https://api.github.com/users/torch/events{/privacy}","received_events_url":"https://api.github.com/users/torch/received_events","type":"Organization","site_admin":false},"repo":{"id":13677447,"name":"nn","full_name":"torch/nn","owner":{"login":"torch","id":4978924,"avatar_url":"https://avatars.githubusercontent.com/u/4978924?v=3","gravatar_id":"","url":"https://api.github.com/users/torch","html_url":"https://github.com/torch","followers_url":"https://api.github.com/users/torch/followers","following_url":"https://api.github.com/users/torch/following{/other_user}","gists_url":"https://api.github.com/users/torch/gists{/gist_id}","starred_url":"https://api.github.com/users/torch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torch/subscriptions","organizations_url":"https://api.github.com/users/torch/orgs","repos_url":"https://api.github.com/users/torch/repos","events_url":"https://api.github.com/users/torch/events{/privacy}","received_events_url":"https://api.github.com/users/torch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/torch/nn","description":"","fork":false,"url":"https://api.github.com/repos/torch/nn","forks_url":"https://api.github.com/repos/torch/nn/forks","keys_url":"https://api.github.com/repos/torch/nn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/torch/nn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/torch/nn/teams","hooks_url":"https://api.github.com/repos/torch/nn/hooks","issue_events_url":"https://api.github.com/repos/torch/nn/issues/events{/number}","events_url":"https://api.github.com/repos/torch/nn/events","assignees_url":"https://api.github.com/repos/torch/nn/assignees{/user}","branches_url":"https://api.github.com/repos/torch/nn/branches{/branch}","tags_url":"https://api.github.com/repos/torch/nn/tags","blobs_url":"https://api.github.com/repos/torch/nn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/torch/nn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/torch/nn/git/refs{/sha}","trees_url":"https://api.github.com/repos/torch/nn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/torch/nn/statuses/{sha}","languages_url":"https://api.github.com/repos/torch/nn/languages","stargazers_url":"https://api.github.com/repos/torch/nn/stargazers","contributors_url":"https://api.github.com/repos/torch/nn/contributors","subscribers_url":"https://api.github.com/repos/torch/nn/subscribers","subscription_url":"https://api.github.com/repos/torch/nn/subscription","commits_url":"https://api.github.com/repos/torch/nn/commits{/sha}","git_commits_url":"https://api.github.com/repos/torch/nn/git/commits{/sha}","comments_url":"https://api.github.com/repos/torch/nn/comments{/number}","issue_comment_url":"https://api.github.com/repos/torch/nn/issues/comments{/number}","contents_url":"https://api.github.com/repos/torch/nn/contents/{+path}","compare_url":"https://api.github.com/repos/torch/nn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/torch/nn/merges","archive_url":"https://api.github.com/repos/torch/nn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/torch/nn/downloads","issues_url":"https://api.github.com/repos/torch/nn/issues{/number}","pulls_url":"https://api.github.com/repos/torch/nn/pulls{/number}","milestones_url":"https://api.github.com/repos/torch/nn/milestones{/number}","notifications_url":"https://api.github.com/repos/torch/nn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/torch/nn/labels{/name}","releases_url":"https://api.github.com/repos/torch/nn/releases{/id}","created_at":"2013-10-18T12:27:25Z","updated_at":"2015-04-30T14:57:38Z","pushed_at":"2015-04-30T14:57:37Z","git_url":"git://github.com/torch/nn.git","ssh_url":"git@github.com:torch/nn.git","clone_url":"https://github.com/torch/nn.git","svn_url":"https://github.com/torch/nn","homepage":null,"size":3899,"stargazers_count":173,"watchers_count":173,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":104,"mirror_url":null,"open_issues_count":17,"forks":104,"open_issues":17,"watchers":173,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/torch/nn/pulls/254"},"html":{"href":"https://github.com/torch/nn/pull/254"},"issue":{"href":"https://api.github.com/repos/torch/nn/issues/254"},"comments":{"href":"https://api.github.com/repos/torch/nn/issues/254/comments"},"review_comments":{"href":"https://api.github.com/repos/torch/nn/pulls/254/comments"},"review_comment":{"href":"https://api.github.com/repos/torch/nn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/torch/nn/pulls/254/commits"},"statuses":{"href":"https://api.github.com/repos/torch/nn/statuses/6c0d5a1ea6dfb2f51d05c98bd5b990b828568beb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":29,"deletions":8,"changed_files":2}}