{"action":"opened","number":2628,"pull_request":{"url":"https://api.github.com/repos/Theano/Theano/pulls/2628","id":31274763,"html_url":"https://github.com/Theano/Theano/pull/2628","diff_url":"https://github.com/Theano/Theano/pull/2628.diff","patch_url":"https://github.com/Theano/Theano/pull/2628.patch","issue_url":"https://api.github.com/repos/Theano/Theano/issues/2628","number":2628,"state":"open","locked":false,"title":"theano function for bincount","user":{"login":"aalmah","id":862408,"avatar_url":"https://avatars.githubusercontent.com/u/862408?v=3","gravatar_id":"","url":"https://api.github.com/users/aalmah","html_url":"https://github.com/aalmah","followers_url":"https://api.github.com/users/aalmah/followers","following_url":"https://api.github.com/users/aalmah/following{/other_user}","gists_url":"https://api.github.com/users/aalmah/gists{/gist_id}","starred_url":"https://api.github.com/users/aalmah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aalmah/subscriptions","organizations_url":"https://api.github.com/users/aalmah/orgs","repos_url":"https://api.github.com/users/aalmah/repos","events_url":"https://api.github.com/users/aalmah/events{/privacy}","received_events_url":"https://api.github.com/users/aalmah/received_events","type":"User","site_admin":false},"body":"Instead of a wrapping the numpy function bincount, I am creating a theano graph that implements exactly the same functionality. I am also deprecating the Op as it shouldn't be used anymore.","created_at":"2015-03-16T19:12:55Z","updated_at":"2015-03-16T19:12:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Theano/Theano/pulls/2628/commits","review_comments_url":"https://api.github.com/repos/Theano/Theano/pulls/2628/comments","review_comment_url":"https://api.github.com/repos/Theano/Theano/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Theano/Theano/issues/2628/comments","statuses_url":"https://api.github.com/repos/Theano/Theano/statuses/3c6c3367dd49f57621f4cc5d914bd7d4697bf6e6","head":{"label":"aalmah:bincount-op","ref":"bincount-op","sha":"3c6c3367dd49f57621f4cc5d914bd7d4697bf6e6","user":{"login":"aalmah","id":862408,"avatar_url":"https://avatars.githubusercontent.com/u/862408?v=3","gravatar_id":"","url":"https://api.github.com/users/aalmah","html_url":"https://github.com/aalmah","followers_url":"https://api.github.com/users/aalmah/followers","following_url":"https://api.github.com/users/aalmah/following{/other_user}","gists_url":"https://api.github.com/users/aalmah/gists{/gist_id}","starred_url":"https://api.github.com/users/aalmah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aalmah/subscriptions","organizations_url":"https://api.github.com/users/aalmah/orgs","repos_url":"https://api.github.com/users/aalmah/repos","events_url":"https://api.github.com/users/aalmah/events{/privacy}","received_events_url":"https://api.github.com/users/aalmah/received_events","type":"User","site_admin":false},"repo":{"id":16921707,"name":"Theano","full_name":"aalmah/Theano","owner":{"login":"aalmah","id":862408,"avatar_url":"https://avatars.githubusercontent.com/u/862408?v=3","gravatar_id":"","url":"https://api.github.com/users/aalmah","html_url":"https://github.com/aalmah","followers_url":"https://api.github.com/users/aalmah/followers","following_url":"https://api.github.com/users/aalmah/following{/other_user}","gists_url":"https://api.github.com/users/aalmah/gists{/gist_id}","starred_url":"https://api.github.com/users/aalmah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aalmah/subscriptions","organizations_url":"https://api.github.com/users/aalmah/orgs","repos_url":"https://api.github.com/users/aalmah/repos","events_url":"https://api.github.com/users/aalmah/events{/privacy}","received_events_url":"https://api.github.com/users/aalmah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aalmah/Theano","description":"Optimizing GPU-meta-programming code generating array oriented optimizing math compiler in Python","fork":true,"url":"https://api.github.com/repos/aalmah/Theano","forks_url":"https://api.github.com/repos/aalmah/Theano/forks","keys_url":"https://api.github.com/repos/aalmah/Theano/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aalmah/Theano/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aalmah/Theano/teams","hooks_url":"https://api.github.com/repos/aalmah/Theano/hooks","issue_events_url":"https://api.github.com/repos/aalmah/Theano/issues/events{/number}","events_url":"https://api.github.com/repos/aalmah/Theano/events","assignees_url":"https://api.github.com/repos/aalmah/Theano/assignees{/user}","branches_url":"https://api.github.com/repos/aalmah/Theano/branches{/branch}","tags_url":"https://api.github.com/repos/aalmah/Theano/tags","blobs_url":"https://api.github.com/repos/aalmah/Theano/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aalmah/Theano/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aalmah/Theano/git/refs{/sha}","trees_url":"https://api.github.com/repos/aalmah/Theano/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aalmah/Theano/statuses/{sha}","languages_url":"https://api.github.com/repos/aalmah/Theano/languages","stargazers_url":"https://api.github.com/repos/aalmah/Theano/stargazers","contributors_url":"https://api.github.com/repos/aalmah/Theano/contributors","subscribers_url":"https://api.github.com/repos/aalmah/Theano/subscribers","subscription_url":"https://api.github.com/repos/aalmah/Theano/subscription","commits_url":"https://api.github.com/repos/aalmah/Theano/commits{/sha}","git_commits_url":"https://api.github.com/repos/aalmah/Theano/git/commits{/sha}","comments_url":"https://api.github.com/repos/aalmah/Theano/comments{/number}","issue_comment_url":"https://api.github.com/repos/aalmah/Theano/issues/comments{/number}","contents_url":"https://api.github.com/repos/aalmah/Theano/contents/{+path}","compare_url":"https://api.github.com/repos/aalmah/Theano/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aalmah/Theano/merges","archive_url":"https://api.github.com/repos/aalmah/Theano/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aalmah/Theano/downloads","issues_url":"https://api.github.com/repos/aalmah/Theano/issues{/number}","pulls_url":"https://api.github.com/repos/aalmah/Theano/pulls{/number}","milestones_url":"https://api.github.com/repos/aalmah/Theano/milestones{/number}","notifications_url":"https://api.github.com/repos/aalmah/Theano/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aalmah/Theano/labels{/name}","releases_url":"https://api.github.com/repos/aalmah/Theano/releases{/id}","created_at":"2014-02-17T18:06:13Z","updated_at":"2015-03-13T15:14:43Z","pushed_at":"2015-03-16T19:09:16Z","git_url":"git://github.com/aalmah/Theano.git","ssh_url":"git@github.com:aalmah/Theano.git","clone_url":"https://github.com/aalmah/Theano.git","svn_url":"https://github.com/aalmah/Theano","homepage":"http://www.deeplearning.net/software/theano","size":27014,"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":"Theano:master","ref":"master","sha":"5a656e9bfa000ee249ef30a05765c8b818d39e41","user":{"login":"Theano","id":970517,"avatar_url":"https://avatars.githubusercontent.com/u/970517?v=3","gravatar_id":"","url":"https://api.github.com/users/Theano","html_url":"https://github.com/Theano","followers_url":"https://api.github.com/users/Theano/followers","following_url":"https://api.github.com/users/Theano/following{/other_user}","gists_url":"https://api.github.com/users/Theano/gists{/gist_id}","starred_url":"https://api.github.com/users/Theano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Theano/subscriptions","organizations_url":"https://api.github.com/users/Theano/orgs","repos_url":"https://api.github.com/users/Theano/repos","events_url":"https://api.github.com/users/Theano/events{/privacy}","received_events_url":"https://api.github.com/users/Theano/received_events","type":"Organization","site_admin":false},"repo":{"id":2183193,"name":"Theano","full_name":"Theano/Theano","owner":{"login":"Theano","id":970517,"avatar_url":"https://avatars.githubusercontent.com/u/970517?v=3","gravatar_id":"","url":"https://api.github.com/users/Theano","html_url":"https://github.com/Theano","followers_url":"https://api.github.com/users/Theano/followers","following_url":"https://api.github.com/users/Theano/following{/other_user}","gists_url":"https://api.github.com/users/Theano/gists{/gist_id}","starred_url":"https://api.github.com/users/Theano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Theano/subscriptions","organizations_url":"https://api.github.com/users/Theano/orgs","repos_url":"https://api.github.com/users/Theano/repos","events_url":"https://api.github.com/users/Theano/events{/privacy}","received_events_url":"https://api.github.com/users/Theano/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Theano/Theano","description":"Theano is a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. It can use GPUs and perform efficient symbolic differentiation.","fork":false,"url":"https://api.github.com/repos/Theano/Theano","forks_url":"https://api.github.com/repos/Theano/Theano/forks","keys_url":"https://api.github.com/repos/Theano/Theano/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Theano/Theano/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Theano/Theano/teams","hooks_url":"https://api.github.com/repos/Theano/Theano/hooks","issue_events_url":"https://api.github.com/repos/Theano/Theano/issues/events{/number}","events_url":"https://api.github.com/repos/Theano/Theano/events","assignees_url":"https://api.github.com/repos/Theano/Theano/assignees{/user}","branches_url":"https://api.github.com/repos/Theano/Theano/branches{/branch}","tags_url":"https://api.github.com/repos/Theano/Theano/tags","blobs_url":"https://api.github.com/repos/Theano/Theano/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Theano/Theano/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Theano/Theano/git/refs{/sha}","trees_url":"https://api.github.com/repos/Theano/Theano/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Theano/Theano/statuses/{sha}","languages_url":"https://api.github.com/repos/Theano/Theano/languages","stargazers_url":"https://api.github.com/repos/Theano/Theano/stargazers","contributors_url":"https://api.github.com/repos/Theano/Theano/contributors","subscribers_url":"https://api.github.com/repos/Theano/Theano/subscribers","subscription_url":"https://api.github.com/repos/Theano/Theano/subscription","commits_url":"https://api.github.com/repos/Theano/Theano/commits{/sha}","git_commits_url":"https://api.github.com/repos/Theano/Theano/git/commits{/sha}","comments_url":"https://api.github.com/repos/Theano/Theano/comments{/number}","issue_comment_url":"https://api.github.com/repos/Theano/Theano/issues/comments{/number}","contents_url":"https://api.github.com/repos/Theano/Theano/contents/{+path}","compare_url":"https://api.github.com/repos/Theano/Theano/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Theano/Theano/merges","archive_url":"https://api.github.com/repos/Theano/Theano/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Theano/Theano/downloads","issues_url":"https://api.github.com/repos/Theano/Theano/issues{/number}","pulls_url":"https://api.github.com/repos/Theano/Theano/pulls{/number}","milestones_url":"https://api.github.com/repos/Theano/Theano/milestones{/number}","notifications_url":"https://api.github.com/repos/Theano/Theano/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Theano/Theano/labels{/name}","releases_url":"https://api.github.com/repos/Theano/Theano/releases{/id}","created_at":"2011-08-10T03:48:06Z","updated_at":"2015-03-16T15:06:56Z","pushed_at":"2015-03-15T21:21:35Z","git_url":"git://github.com/Theano/Theano.git","ssh_url":"git@github.com:Theano/Theano.git","clone_url":"https://github.com/Theano/Theano.git","svn_url":"https://github.com/Theano/Theano","homepage":"http://www.deeplearning.net/software/theano","size":40825,"stargazers_count":1261,"watchers_count":1261,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":457,"mirror_url":null,"open_issues_count":327,"forks":457,"open_issues":327,"watchers":1261,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Theano/Theano/pulls/2628"},"html":{"href":"https://github.com/Theano/Theano/pull/2628"},"issue":{"href":"https://api.github.com/repos/Theano/Theano/issues/2628"},"comments":{"href":"https://api.github.com/repos/Theano/Theano/issues/2628/comments"},"review_comments":{"href":"https://api.github.com/repos/Theano/Theano/pulls/2628/comments"},"review_comment":{"href":"https://api.github.com/repos/Theano/Theano/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Theano/Theano/pulls/2628/commits"},"statuses":{"href":"https://api.github.com/repos/Theano/Theano/statuses/3c6c3367dd49f57621f4cc5d914bd7d4697bf6e6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":56,"deletions":8,"changed_files":2}}