{"action":"created","comment":{"url":"https://api.github.com/repos/pfnet/chainer/pulls/comments/64127696","id":64127696,"diff_hunk":"@@ -0,0 +1,131 @@\n+import unittest\n+\n+import numpy\n+\n+import chainer\n+from chainer import cuda\n+from chainer import functions\n+from chainer import gradient_check\n+from chainer import testing\n+from chainer.testing import attr\n+from chainer.testing import condition\n+\n+\n+class _TestCReLU(unittest.TestCase):","path":"tests/chainer_tests/functions_tests/activation_tests/test_crelu.py","position":14,"original_position":14,"commit_id":"aa634438db789ea444726e0882d5c93a785f08f2","original_commit_id":"aa634438db789ea444726e0882d5c93a785f08f2","user":{"login":"unnonouno","id":740680,"avatar_url":"https://avatars.githubusercontent.com/u/740680?v=3","gravatar_id":"","url":"https://api.github.com/users/unnonouno","html_url":"https://github.com/unnonouno","followers_url":"https://api.github.com/users/unnonouno/followers","following_url":"https://api.github.com/users/unnonouno/following{/other_user}","gists_url":"https://api.github.com/users/unnonouno/gists{/gist_id}","starred_url":"https://api.github.com/users/unnonouno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unnonouno/subscriptions","organizations_url":"https://api.github.com/users/unnonouno/orgs","repos_url":"https://api.github.com/users/unnonouno/repos","events_url":"https://api.github.com/users/unnonouno/events{/privacy}","received_events_url":"https://api.github.com/users/unnonouno/received_events","type":"User","site_admin":false},"body":"Use parameterized test. I mean:\r\n```\r\n@testing.parameterize(\r\n  {'shape': (5, 4), 'axis': 0}, \r\n  {'shape': (5, 4), 'axis': 1}, \r\n  ....\r\n)\r\n```\r\nYou can access these values as an attribute of the test class like `self.shape`.","created_at":"2016-05-21T03:43:33Z","updated_at":"2016-05-21T03:43:33Z","html_url":"https://github.com/pfnet/chainer/pull/1142#discussion_r64127696","pull_request_url":"https://api.github.com/repos/pfnet/chainer/pulls/1142","_links":{"self":{"href":"https://api.github.com/repos/pfnet/chainer/pulls/comments/64127696"},"html":{"href":"https://github.com/pfnet/chainer/pull/1142#discussion_r64127696"},"pull_request":{"href":"https://api.github.com/repos/pfnet/chainer/pulls/1142"}}},"pull_request":{"url":"https://api.github.com/repos/pfnet/chainer/pulls/1142","id":67149674,"html_url":"https://github.com/pfnet/chainer/pull/1142","diff_url":"https://github.com/pfnet/chainer/pull/1142.diff","patch_url":"https://github.com/pfnet/chainer/pull/1142.patch","issue_url":"https://api.github.com/repos/pfnet/chainer/issues/1142","number":1142,"state":"open","locked":false,"title":"Implement CReLU (Concatenated ReLU)","user":{"login":"muupan","id":815970,"avatar_url":"https://avatars.githubusercontent.com/u/815970?v=3","gravatar_id":"","url":"https://api.github.com/users/muupan","html_url":"https://github.com/muupan","followers_url":"https://api.github.com/users/muupan/followers","following_url":"https://api.github.com/users/muupan/following{/other_user}","gists_url":"https://api.github.com/users/muupan/gists{/gist_id}","starred_url":"https://api.github.com/users/muupan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muupan/subscriptions","organizations_url":"https://api.github.com/users/muupan/orgs","repos_url":"https://api.github.com/users/muupan/repos","events_url":"https://api.github.com/users/muupan/events{/privacy}","received_events_url":"https://api.github.com/users/muupan/received_events","type":"User","site_admin":false},"body":"This PR implements a new activation function CReLU (Concatenated ReLU) described in http://arxiv.org/abs/1603.05201.","created_at":"2016-04-20T08:52:44Z","updated_at":"2016-05-21T03:43:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"764116d1a3e432e562a81a042ff4d906585ab663","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pfnet/chainer/pulls/1142/commits","review_comments_url":"https://api.github.com/repos/pfnet/chainer/pulls/1142/comments","review_comment_url":"https://api.github.com/repos/pfnet/chainer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pfnet/chainer/issues/1142/comments","statuses_url":"https://api.github.com/repos/pfnet/chainer/statuses/aa634438db789ea444726e0882d5c93a785f08f2","head":{"label":"muupan:crelu","ref":"crelu","sha":"aa634438db789ea444726e0882d5c93a785f08f2","user":{"login":"muupan","id":815970,"avatar_url":"https://avatars.githubusercontent.com/u/815970?v=3","gravatar_id":"","url":"https://api.github.com/users/muupan","html_url":"https://github.com/muupan","followers_url":"https://api.github.com/users/muupan/followers","following_url":"https://api.github.com/users/muupan/following{/other_user}","gists_url":"https://api.github.com/users/muupan/gists{/gist_id}","starred_url":"https://api.github.com/users/muupan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muupan/subscriptions","organizations_url":"https://api.github.com/users/muupan/orgs","repos_url":"https://api.github.com/users/muupan/repos","events_url":"https://api.github.com/users/muupan/events{/privacy}","received_events_url":"https://api.github.com/users/muupan/received_events","type":"User","site_admin":false},"repo":{"id":37308816,"name":"chainer","full_name":"muupan/chainer","owner":{"login":"muupan","id":815970,"avatar_url":"https://avatars.githubusercontent.com/u/815970?v=3","gravatar_id":"","url":"https://api.github.com/users/muupan","html_url":"https://github.com/muupan","followers_url":"https://api.github.com/users/muupan/followers","following_url":"https://api.github.com/users/muupan/following{/other_user}","gists_url":"https://api.github.com/users/muupan/gists{/gist_id}","starred_url":"https://api.github.com/users/muupan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muupan/subscriptions","organizations_url":"https://api.github.com/users/muupan/orgs","repos_url":"https://api.github.com/users/muupan/repos","events_url":"https://api.github.com/users/muupan/events{/privacy}","received_events_url":"https://api.github.com/users/muupan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/muupan/chainer","description":"A flexible framework of neural networks for deep learning","fork":true,"url":"https://api.github.com/repos/muupan/chainer","forks_url":"https://api.github.com/repos/muupan/chainer/forks","keys_url":"https://api.github.com/repos/muupan/chainer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muupan/chainer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muupan/chainer/teams","hooks_url":"https://api.github.com/repos/muupan/chainer/hooks","issue_events_url":"https://api.github.com/repos/muupan/chainer/issues/events{/number}","events_url":"https://api.github.com/repos/muupan/chainer/events","assignees_url":"https://api.github.com/repos/muupan/chainer/assignees{/user}","branches_url":"https://api.github.com/repos/muupan/chainer/branches{/branch}","tags_url":"https://api.github.com/repos/muupan/chainer/tags","blobs_url":"https://api.github.com/repos/muupan/chainer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muupan/chainer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muupan/chainer/git/refs{/sha}","trees_url":"https://api.github.com/repos/muupan/chainer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muupan/chainer/statuses/{sha}","languages_url":"https://api.github.com/repos/muupan/chainer/languages","stargazers_url":"https://api.github.com/repos/muupan/chainer/stargazers","contributors_url":"https://api.github.com/repos/muupan/chainer/contributors","subscribers_url":"https://api.github.com/repos/muupan/chainer/subscribers","subscription_url":"https://api.github.com/repos/muupan/chainer/subscription","commits_url":"https://api.github.com/repos/muupan/chainer/commits{/sha}","git_commits_url":"https://api.github.com/repos/muupan/chainer/git/commits{/sha}","comments_url":"https://api.github.com/repos/muupan/chainer/comments{/number}","issue_comment_url":"https://api.github.com/repos/muupan/chainer/issues/comments{/number}","contents_url":"https://api.github.com/repos/muupan/chainer/contents/{+path}","compare_url":"https://api.github.com/repos/muupan/chainer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muupan/chainer/merges","archive_url":"https://api.github.com/repos/muupan/chainer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muupan/chainer/downloads","issues_url":"https://api.github.com/repos/muupan/chainer/issues{/number}","pulls_url":"https://api.github.com/repos/muupan/chainer/pulls{/number}","milestones_url":"https://api.github.com/repos/muupan/chainer/milestones{/number}","notifications_url":"https://api.github.com/repos/muupan/chainer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muupan/chainer/labels{/name}","releases_url":"https://api.github.com/repos/muupan/chainer/releases{/id}","deployments_url":"https://api.github.com/repos/muupan/chainer/deployments","created_at":"2015-06-12T07:38:13Z","updated_at":"2015-06-12T07:38:13Z","pushed_at":"2016-05-14T12:57:44Z","git_url":"git://github.com/muupan/chainer.git","ssh_url":"git@github.com:muupan/chainer.git","clone_url":"https://github.com/muupan/chainer.git","svn_url":"https://github.com/muupan/chainer","homepage":"http://chainer.org","size":10103,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"pfnet:master","ref":"master","sha":"a114969d5252daecda5b93c7df0aeb77bef3426a","user":{"login":"pfnet","id":9739572,"avatar_url":"https://avatars.githubusercontent.com/u/9739572?v=3","gravatar_id":"","url":"https://api.github.com/users/pfnet","html_url":"https://github.com/pfnet","followers_url":"https://api.github.com/users/pfnet/followers","following_url":"https://api.github.com/users/pfnet/following{/other_user}","gists_url":"https://api.github.com/users/pfnet/gists{/gist_id}","starred_url":"https://api.github.com/users/pfnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfnet/subscriptions","organizations_url":"https://api.github.com/users/pfnet/orgs","repos_url":"https://api.github.com/users/pfnet/repos","events_url":"https://api.github.com/users/pfnet/events{/privacy}","received_events_url":"https://api.github.com/users/pfnet/received_events","type":"Organization","site_admin":false},"repo":{"id":36914478,"name":"chainer","full_name":"pfnet/chainer","owner":{"login":"pfnet","id":9739572,"avatar_url":"https://avatars.githubusercontent.com/u/9739572?v=3","gravatar_id":"","url":"https://api.github.com/users/pfnet","html_url":"https://github.com/pfnet","followers_url":"https://api.github.com/users/pfnet/followers","following_url":"https://api.github.com/users/pfnet/following{/other_user}","gists_url":"https://api.github.com/users/pfnet/gists{/gist_id}","starred_url":"https://api.github.com/users/pfnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfnet/subscriptions","organizations_url":"https://api.github.com/users/pfnet/orgs","repos_url":"https://api.github.com/users/pfnet/repos","events_url":"https://api.github.com/users/pfnet/events{/privacy}","received_events_url":"https://api.github.com/users/pfnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pfnet/chainer","description":"A flexible framework of neural networks for deep learning","fork":false,"url":"https://api.github.com/repos/pfnet/chainer","forks_url":"https://api.github.com/repos/pfnet/chainer/forks","keys_url":"https://api.github.com/repos/pfnet/chainer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pfnet/chainer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pfnet/chainer/teams","hooks_url":"https://api.github.com/repos/pfnet/chainer/hooks","issue_events_url":"https://api.github.com/repos/pfnet/chainer/issues/events{/number}","events_url":"https://api.github.com/repos/pfnet/chainer/events","assignees_url":"https://api.github.com/repos/pfnet/chainer/assignees{/user}","branches_url":"https://api.github.com/repos/pfnet/chainer/branches{/branch}","tags_url":"https://api.github.com/repos/pfnet/chainer/tags","blobs_url":"https://api.github.com/repos/pfnet/chainer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pfnet/chainer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pfnet/chainer/git/refs{/sha}","trees_url":"https://api.github.com/repos/pfnet/chainer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pfnet/chainer/statuses/{sha}","languages_url":"https://api.github.com/repos/pfnet/chainer/languages","stargazers_url":"https://api.github.com/repos/pfnet/chainer/stargazers","contributors_url":"https://api.github.com/repos/pfnet/chainer/contributors","subscribers_url":"https://api.github.com/repos/pfnet/chainer/subscribers","subscription_url":"https://api.github.com/repos/pfnet/chainer/subscription","commits_url":"https://api.github.com/repos/pfnet/chainer/commits{/sha}","git_commits_url":"https://api.github.com/repos/pfnet/chainer/git/commits{/sha}","comments_url":"https://api.github.com/repos/pfnet/chainer/comments{/number}","issue_comment_url":"https://api.github.com/repos/pfnet/chainer/issues/comments{/number}","contents_url":"https://api.github.com/repos/pfnet/chainer/contents/{+path}","compare_url":"https://api.github.com/repos/pfnet/chainer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pfnet/chainer/merges","archive_url":"https://api.github.com/repos/pfnet/chainer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pfnet/chainer/downloads","issues_url":"https://api.github.com/repos/pfnet/chainer/issues{/number}","pulls_url":"https://api.github.com/repos/pfnet/chainer/pulls{/number}","milestones_url":"https://api.github.com/repos/pfnet/chainer/milestones{/number}","notifications_url":"https://api.github.com/repos/pfnet/chainer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pfnet/chainer/labels{/name}","releases_url":"https://api.github.com/repos/pfnet/chainer/releases{/id}","deployments_url":"https://api.github.com/repos/pfnet/chainer/deployments","created_at":"2015-06-05T05:50:37Z","updated_at":"2016-05-19T09:39:32Z","pushed_at":"2016-05-21T03:29:13Z","git_url":"git://github.com/pfnet/chainer.git","ssh_url":"git@github.com:pfnet/chainer.git","clone_url":"https://github.com/pfnet/chainer.git","svn_url":"https://github.com/pfnet/chainer","homepage":"http://chainer.org","size":17864,"stargazers_count":1383,"watchers_count":1383,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":287,"mirror_url":null,"open_issues_count":158,"forks":287,"open_issues":158,"watchers":1383,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pfnet/chainer/pulls/1142"},"html":{"href":"https://github.com/pfnet/chainer/pull/1142"},"issue":{"href":"https://api.github.com/repos/pfnet/chainer/issues/1142"},"comments":{"href":"https://api.github.com/repos/pfnet/chainer/issues/1142/comments"},"review_comments":{"href":"https://api.github.com/repos/pfnet/chainer/pulls/1142/comments"},"review_comment":{"href":"https://api.github.com/repos/pfnet/chainer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pfnet/chainer/pulls/1142/commits"},"statuses":{"href":"https://api.github.com/repos/pfnet/chainer/statuses/aa634438db789ea444726e0882d5c93a785f08f2"}}}}
{"actor":{"display_login":"unnonouno"}}