{"action":"closed","number":1160,"pull_request":{"url":"https://api.github.com/repos/mila-udem/blocks/pulls/1160","id":91136162,"html_url":"https://github.com/mila-udem/blocks/pull/1160","diff_url":"https://github.com/mila-udem/blocks/pull/1160.diff","patch_url":"https://github.com/mila-udem/blocks/pull/1160.patch","issue_url":"https://api.github.com/repos/mila-udem/blocks/issues/1160","number":1160,"state":"closed","locked":false,"title":"Let Sequence [subclasses] accept Bricks.","user":{"login":"dwf","id":60206,"avatar_url":"https://avatars.githubusercontent.com/u/60206?v=3","gravatar_id":"","url":"https://api.github.com/users/dwf","html_url":"https://github.com/dwf","followers_url":"https://api.github.com/users/dwf/followers","following_url":"https://api.github.com/users/dwf/following{/other_user}","gists_url":"https://api.github.com/users/dwf/gists{/gist_id}","starred_url":"https://api.github.com/users/dwf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwf/subscriptions","organizations_url":"https://api.github.com/users/dwf/orgs","repos_url":"https://api.github.com/users/dwf/repos","events_url":"https://api.github.com/users/dwf/events{/privacy}","received_events_url":"https://api.github.com/users/dwf/received_events","type":"User","site_admin":false},"body":"To this day I sometimes forget the `.apply` when creating a Sequence brick. This removes the need. It also simplifies the implementations of Sequence and MLP in the process.\n","created_at":"2016-10-27T05:39:57Z","updated_at":"2016-11-11T19:32:49Z","closed_at":"2016-11-11T19:32:48Z","merged_at":"2016-11-11T19:32:48Z","merge_commit_sha":"6b68ea6c7c8e6881f69e7672c79a3b40576d6ce6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mila-udem/blocks/pulls/1160/commits","review_comments_url":"https://api.github.com/repos/mila-udem/blocks/pulls/1160/comments","review_comment_url":"https://api.github.com/repos/mila-udem/blocks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mila-udem/blocks/issues/1160/comments","statuses_url":"https://api.github.com/repos/mila-udem/blocks/statuses/5e21a07fff1e06826cbab4adcac342e337379360","head":{"label":"dwf:sequence_bricks","ref":"sequence_bricks","sha":"5e21a07fff1e06826cbab4adcac342e337379360","user":{"login":"dwf","id":60206,"avatar_url":"https://avatars.githubusercontent.com/u/60206?v=3","gravatar_id":"","url":"https://api.github.com/users/dwf","html_url":"https://github.com/dwf","followers_url":"https://api.github.com/users/dwf/followers","following_url":"https://api.github.com/users/dwf/following{/other_user}","gists_url":"https://api.github.com/users/dwf/gists{/gist_id}","starred_url":"https://api.github.com/users/dwf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwf/subscriptions","organizations_url":"https://api.github.com/users/dwf/orgs","repos_url":"https://api.github.com/users/dwf/repos","events_url":"https://api.github.com/users/dwf/events{/privacy}","received_events_url":"https://api.github.com/users/dwf/received_events","type":"User","site_admin":false},"repo":{"id":28125354,"name":"blocks","full_name":"dwf/blocks","owner":{"login":"dwf","id":60206,"avatar_url":"https://avatars.githubusercontent.com/u/60206?v=3","gravatar_id":"","url":"https://api.github.com/users/dwf","html_url":"https://github.com/dwf","followers_url":"https://api.github.com/users/dwf/followers","following_url":"https://api.github.com/users/dwf/following{/other_user}","gists_url":"https://api.github.com/users/dwf/gists{/gist_id}","starred_url":"https://api.github.com/users/dwf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwf/subscriptions","organizations_url":"https://api.github.com/users/dwf/orgs","repos_url":"https://api.github.com/users/dwf/repos","events_url":"https://api.github.com/users/dwf/events{/privacy}","received_events_url":"https://api.github.com/users/dwf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dwf/blocks","description":null,"fork":true,"url":"https://api.github.com/repos/dwf/blocks","forks_url":"https://api.github.com/repos/dwf/blocks/forks","keys_url":"https://api.github.com/repos/dwf/blocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dwf/blocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dwf/blocks/teams","hooks_url":"https://api.github.com/repos/dwf/blocks/hooks","issue_events_url":"https://api.github.com/repos/dwf/blocks/issues/events{/number}","events_url":"https://api.github.com/repos/dwf/blocks/events","assignees_url":"https://api.github.com/repos/dwf/blocks/assignees{/user}","branches_url":"https://api.github.com/repos/dwf/blocks/branches{/branch}","tags_url":"https://api.github.com/repos/dwf/blocks/tags","blobs_url":"https://api.github.com/repos/dwf/blocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dwf/blocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dwf/blocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/dwf/blocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dwf/blocks/statuses/{sha}","languages_url":"https://api.github.com/repos/dwf/blocks/languages","stargazers_url":"https://api.github.com/repos/dwf/blocks/stargazers","contributors_url":"https://api.github.com/repos/dwf/blocks/contributors","subscribers_url":"https://api.github.com/repos/dwf/blocks/subscribers","subscription_url":"https://api.github.com/repos/dwf/blocks/subscription","commits_url":"https://api.github.com/repos/dwf/blocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/dwf/blocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/dwf/blocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/dwf/blocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/dwf/blocks/contents/{+path}","compare_url":"https://api.github.com/repos/dwf/blocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dwf/blocks/merges","archive_url":"https://api.github.com/repos/dwf/blocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dwf/blocks/downloads","issues_url":"https://api.github.com/repos/dwf/blocks/issues{/number}","pulls_url":"https://api.github.com/repos/dwf/blocks/pulls{/number}","milestones_url":"https://api.github.com/repos/dwf/blocks/milestones{/number}","notifications_url":"https://api.github.com/repos/dwf/blocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dwf/blocks/labels{/name}","releases_url":"https://api.github.com/repos/dwf/blocks/releases{/id}","deployments_url":"https://api.github.com/repos/dwf/blocks/deployments","created_at":"2014-12-17T06:56:35Z","updated_at":"2016-02-12T22:46:12Z","pushed_at":"2016-11-11T07:15:24Z","git_url":"git://github.com/dwf/blocks.git","ssh_url":"git@github.com:dwf/blocks.git","clone_url":"https://github.com/dwf/blocks.git","svn_url":"https://github.com/dwf/blocks","homepage":null,"size":4504,"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":"mila-udem:master","ref":"master","sha":"0e4e2a6a5cfc0345e705cf5721e77a878a97fd83","user":{"login":"mila-udem","id":11724251,"avatar_url":"https://avatars.githubusercontent.com/u/11724251?v=3","gravatar_id":"","url":"https://api.github.com/users/mila-udem","html_url":"https://github.com/mila-udem","followers_url":"https://api.github.com/users/mila-udem/followers","following_url":"https://api.github.com/users/mila-udem/following{/other_user}","gists_url":"https://api.github.com/users/mila-udem/gists{/gist_id}","starred_url":"https://api.github.com/users/mila-udem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mila-udem/subscriptions","organizations_url":"https://api.github.com/users/mila-udem/orgs","repos_url":"https://api.github.com/users/mila-udem/repos","events_url":"https://api.github.com/users/mila-udem/events{/privacy}","received_events_url":"https://api.github.com/users/mila-udem/received_events","type":"Organization","site_admin":false},"repo":{"id":24829371,"name":"blocks","full_name":"mila-udem/blocks","owner":{"login":"mila-udem","id":11724251,"avatar_url":"https://avatars.githubusercontent.com/u/11724251?v=3","gravatar_id":"","url":"https://api.github.com/users/mila-udem","html_url":"https://github.com/mila-udem","followers_url":"https://api.github.com/users/mila-udem/followers","following_url":"https://api.github.com/users/mila-udem/following{/other_user}","gists_url":"https://api.github.com/users/mila-udem/gists{/gist_id}","starred_url":"https://api.github.com/users/mila-udem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mila-udem/subscriptions","organizations_url":"https://api.github.com/users/mila-udem/orgs","repos_url":"https://api.github.com/users/mila-udem/repos","events_url":"https://api.github.com/users/mila-udem/events{/privacy}","received_events_url":"https://api.github.com/users/mila-udem/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mila-udem/blocks","description":"A Theano framework for building and training neural networks","fork":false,"url":"https://api.github.com/repos/mila-udem/blocks","forks_url":"https://api.github.com/repos/mila-udem/blocks/forks","keys_url":"https://api.github.com/repos/mila-udem/blocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mila-udem/blocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mila-udem/blocks/teams","hooks_url":"https://api.github.com/repos/mila-udem/blocks/hooks","issue_events_url":"https://api.github.com/repos/mila-udem/blocks/issues/events{/number}","events_url":"https://api.github.com/repos/mila-udem/blocks/events","assignees_url":"https://api.github.com/repos/mila-udem/blocks/assignees{/user}","branches_url":"https://api.github.com/repos/mila-udem/blocks/branches{/branch}","tags_url":"https://api.github.com/repos/mila-udem/blocks/tags","blobs_url":"https://api.github.com/repos/mila-udem/blocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mila-udem/blocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mila-udem/blocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/mila-udem/blocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mila-udem/blocks/statuses/{sha}","languages_url":"https://api.github.com/repos/mila-udem/blocks/languages","stargazers_url":"https://api.github.com/repos/mila-udem/blocks/stargazers","contributors_url":"https://api.github.com/repos/mila-udem/blocks/contributors","subscribers_url":"https://api.github.com/repos/mila-udem/blocks/subscribers","subscription_url":"https://api.github.com/repos/mila-udem/blocks/subscription","commits_url":"https://api.github.com/repos/mila-udem/blocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/mila-udem/blocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/mila-udem/blocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/mila-udem/blocks/issues/comments{/number}","contents_url":"https://api.github.com/repos/mila-udem/blocks/contents/{+path}","compare_url":"https://api.github.com/repos/mila-udem/blocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mila-udem/blocks/merges","archive_url":"https://api.github.com/repos/mila-udem/blocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mila-udem/blocks/downloads","issues_url":"https://api.github.com/repos/mila-udem/blocks/issues{/number}","pulls_url":"https://api.github.com/repos/mila-udem/blocks/pulls{/number}","milestones_url":"https://api.github.com/repos/mila-udem/blocks/milestones{/number}","notifications_url":"https://api.github.com/repos/mila-udem/blocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mila-udem/blocks/labels{/name}","releases_url":"https://api.github.com/repos/mila-udem/blocks/releases{/id}","deployments_url":"https://api.github.com/repos/mila-udem/blocks/deployments","created_at":"2014-10-06T00:08:32Z","updated_at":"2016-11-11T14:50:46Z","pushed_at":"2016-11-11T19:32:48Z","git_url":"git://github.com/mila-udem/blocks.git","ssh_url":"git@github.com:mila-udem/blocks.git","clone_url":"https://github.com/mila-udem/blocks.git","svn_url":"https://github.com/mila-udem/blocks","homepage":"","size":26553,"stargazers_count":944,"watchers_count":944,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":283,"mirror_url":null,"open_issues_count":181,"forks":283,"open_issues":181,"watchers":944,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mila-udem/blocks/pulls/1160"},"html":{"href":"https://github.com/mila-udem/blocks/pull/1160"},"issue":{"href":"https://api.github.com/repos/mila-udem/blocks/issues/1160"},"comments":{"href":"https://api.github.com/repos/mila-udem/blocks/issues/1160/comments"},"review_comments":{"href":"https://api.github.com/repos/mila-udem/blocks/pulls/1160/comments"},"review_comment":{"href":"https://api.github.com/repos/mila-udem/blocks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mila-udem/blocks/pulls/1160/commits"},"statuses":{"href":"https://api.github.com/repos/mila-udem/blocks/statuses/5e21a07fff1e06826cbab4adcac342e337379360"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dwf","id":60206,"avatar_url":"https://avatars.githubusercontent.com/u/60206?v=3","gravatar_id":"","url":"https://api.github.com/users/dwf","html_url":"https://github.com/dwf","followers_url":"https://api.github.com/users/dwf/followers","following_url":"https://api.github.com/users/dwf/following{/other_user}","gists_url":"https://api.github.com/users/dwf/gists{/gist_id}","starred_url":"https://api.github.com/users/dwf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwf/subscriptions","organizations_url":"https://api.github.com/users/dwf/orgs","repos_url":"https://api.github.com/users/dwf/repos","events_url":"https://api.github.com/users/dwf/events{/privacy}","received_events_url":"https://api.github.com/users/dwf/received_events","type":"User","site_admin":false},"comments":9,"review_comments":3,"commits":1,"additions":46,"deletions":34,"changed_files":4}}
{"actor":{"display_login":"dwf"}}