{"action":"opened","number":291,"pull_request":{"url":"https://api.github.com/repos/fchollet/keras/pulls/291","id":38726081,"html_url":"https://github.com/fchollet/keras/pull/291","diff_url":"https://github.com/fchollet/keras/pull/291.diff","patch_url":"https://github.com/fchollet/keras/pull/291.patch","issue_url":"https://api.github.com/repos/fchollet/keras/issues/291","number":291,"state":"open","locked":false,"title":"Improved Non Sequential Models Support and New Layers ","user":{"login":"pranv","id":8753078,"avatar_url":"https://avatars.githubusercontent.com/u/8753078?v=3","gravatar_id":"","url":"https://api.github.com/users/pranv","html_url":"https://github.com/pranv","followers_url":"https://api.github.com/users/pranv/followers","following_url":"https://api.github.com/users/pranv/following{/other_user}","gists_url":"https://api.github.com/users/pranv/gists{/gist_id}","starred_url":"https://api.github.com/users/pranv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranv/subscriptions","organizations_url":"https://api.github.com/users/pranv/orgs","repos_url":"https://api.github.com/users/pranv/repos","events_url":"https://api.github.com/users/pranv/events{/privacy}","received_events_url":"https://api.github.com/users/pranv/received_events","type":"User","site_admin":false},"body":"<b>Non Sequential Models:<b>\r\n\r\nEach layer has 2 attributes: `name` and `prev`. \r\n\r\n* `name` is a string that internally maps to a layer number.\r\n* `prev` is the string that internally maps to the layer that current layer should be connected to, also internally mapped to a layer number. Defaults the last added layer.\r\n\r\nThe `Layer` class takes inputs from multiple previous layers as a list. For backward compatibility, single input is handled.\r\n\r\n```\r\nmodel = Sequential()\r\nmodel.add(Dense(20,5, name='input'))\r\nmodel.add(Dense(5, 1,name='pro1', prev='input'))\r\nmodel.add(Dense(5, 1, name='pro2', prev='input'))\r\nmodel.add(Merge(prev=['pro1', 'pro2'], mode='concat'))\r\n```\r\n\r\n<b>Other Changes:</b>\r\n* Added LRN Layer\r\n* Added Pooling with Strides as supported by Theano 0.7\r\n* Added ZeroPadding2D Layer\r\n","created_at":"2015-06-28T14:13:16Z","updated_at":"2015-06-28T14:13:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fchollet/keras/pulls/291/commits","review_comments_url":"https://api.github.com/repos/fchollet/keras/pulls/291/comments","review_comment_url":"https://api.github.com/repos/fchollet/keras/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/291/comments","statuses_url":"https://api.github.com/repos/fchollet/keras/statuses/642f3dd20db15dce345e334ad23606414805439e","head":{"label":"pranv:master","ref":"master","sha":"642f3dd20db15dce345e334ad23606414805439e","user":{"login":"pranv","id":8753078,"avatar_url":"https://avatars.githubusercontent.com/u/8753078?v=3","gravatar_id":"","url":"https://api.github.com/users/pranv","html_url":"https://github.com/pranv","followers_url":"https://api.github.com/users/pranv/followers","following_url":"https://api.github.com/users/pranv/following{/other_user}","gists_url":"https://api.github.com/users/pranv/gists{/gist_id}","starred_url":"https://api.github.com/users/pranv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranv/subscriptions","organizations_url":"https://api.github.com/users/pranv/orgs","repos_url":"https://api.github.com/users/pranv/repos","events_url":"https://api.github.com/users/pranv/events{/privacy}","received_events_url":"https://api.github.com/users/pranv/received_events","type":"User","site_admin":false},"repo":{"id":34257503,"name":"keras","full_name":"pranv/keras","owner":{"login":"pranv","id":8753078,"avatar_url":"https://avatars.githubusercontent.com/u/8753078?v=3","gravatar_id":"","url":"https://api.github.com/users/pranv","html_url":"https://github.com/pranv","followers_url":"https://api.github.com/users/pranv/followers","following_url":"https://api.github.com/users/pranv/following{/other_user}","gists_url":"https://api.github.com/users/pranv/gists{/gist_id}","starred_url":"https://api.github.com/users/pranv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranv/subscriptions","organizations_url":"https://api.github.com/users/pranv/orgs","repos_url":"https://api.github.com/users/pranv/repos","events_url":"https://api.github.com/users/pranv/events{/privacy}","received_events_url":"https://api.github.com/users/pranv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pranv/keras","description":"Theano-based Deep Learning library","fork":true,"url":"https://api.github.com/repos/pranv/keras","forks_url":"https://api.github.com/repos/pranv/keras/forks","keys_url":"https://api.github.com/repos/pranv/keras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pranv/keras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pranv/keras/teams","hooks_url":"https://api.github.com/repos/pranv/keras/hooks","issue_events_url":"https://api.github.com/repos/pranv/keras/issues/events{/number}","events_url":"https://api.github.com/repos/pranv/keras/events","assignees_url":"https://api.github.com/repos/pranv/keras/assignees{/user}","branches_url":"https://api.github.com/repos/pranv/keras/branches{/branch}","tags_url":"https://api.github.com/repos/pranv/keras/tags","blobs_url":"https://api.github.com/repos/pranv/keras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pranv/keras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pranv/keras/git/refs{/sha}","trees_url":"https://api.github.com/repos/pranv/keras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pranv/keras/statuses/{sha}","languages_url":"https://api.github.com/repos/pranv/keras/languages","stargazers_url":"https://api.github.com/repos/pranv/keras/stargazers","contributors_url":"https://api.github.com/repos/pranv/keras/contributors","subscribers_url":"https://api.github.com/repos/pranv/keras/subscribers","subscription_url":"https://api.github.com/repos/pranv/keras/subscription","commits_url":"https://api.github.com/repos/pranv/keras/commits{/sha}","git_commits_url":"https://api.github.com/repos/pranv/keras/git/commits{/sha}","comments_url":"https://api.github.com/repos/pranv/keras/comments{/number}","issue_comment_url":"https://api.github.com/repos/pranv/keras/issues/comments{/number}","contents_url":"https://api.github.com/repos/pranv/keras/contents/{+path}","compare_url":"https://api.github.com/repos/pranv/keras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pranv/keras/merges","archive_url":"https://api.github.com/repos/pranv/keras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pranv/keras/downloads","issues_url":"https://api.github.com/repos/pranv/keras/issues{/number}","pulls_url":"https://api.github.com/repos/pranv/keras/pulls{/number}","milestones_url":"https://api.github.com/repos/pranv/keras/milestones{/number}","notifications_url":"https://api.github.com/repos/pranv/keras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pranv/keras/labels{/name}","releases_url":"https://api.github.com/repos/pranv/keras/releases{/id}","created_at":"2015-04-20T11:53:52Z","updated_at":"2015-04-20T11:55:36Z","pushed_at":"2015-06-28T13:42:43Z","git_url":"git://github.com/pranv/keras.git","ssh_url":"git@github.com:pranv/keras.git","clone_url":"https://github.com/pranv/keras.git","svn_url":"https://github.com/pranv/keras","homepage":"http://keras.io/","size":516,"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":"fchollet:master","ref":"master","sha":"c4735f59c4d9475ec8108e60f7a3125720f56443","user":{"login":"fchollet","id":710255,"avatar_url":"https://avatars.githubusercontent.com/u/710255?v=3","gravatar_id":"","url":"https://api.github.com/users/fchollet","html_url":"https://github.com/fchollet","followers_url":"https://api.github.com/users/fchollet/followers","following_url":"https://api.github.com/users/fchollet/following{/other_user}","gists_url":"https://api.github.com/users/fchollet/gists{/gist_id}","starred_url":"https://api.github.com/users/fchollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fchollet/subscriptions","organizations_url":"https://api.github.com/users/fchollet/orgs","repos_url":"https://api.github.com/users/fchollet/repos","events_url":"https://api.github.com/users/fchollet/events{/privacy}","received_events_url":"https://api.github.com/users/fchollet/received_events","type":"User","site_admin":false},"repo":{"id":33015583,"name":"keras","full_name":"fchollet/keras","owner":{"login":"fchollet","id":710255,"avatar_url":"https://avatars.githubusercontent.com/u/710255?v=3","gravatar_id":"","url":"https://api.github.com/users/fchollet","html_url":"https://github.com/fchollet","followers_url":"https://api.github.com/users/fchollet/followers","following_url":"https://api.github.com/users/fchollet/following{/other_user}","gists_url":"https://api.github.com/users/fchollet/gists{/gist_id}","starred_url":"https://api.github.com/users/fchollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fchollet/subscriptions","organizations_url":"https://api.github.com/users/fchollet/orgs","repos_url":"https://api.github.com/users/fchollet/repos","events_url":"https://api.github.com/users/fchollet/events{/privacy}","received_events_url":"https://api.github.com/users/fchollet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fchollet/keras","description":"Theano-based Deep Learning library (convnets, recurrent neural networks, and more).","fork":false,"url":"https://api.github.com/repos/fchollet/keras","forks_url":"https://api.github.com/repos/fchollet/keras/forks","keys_url":"https://api.github.com/repos/fchollet/keras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fchollet/keras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fchollet/keras/teams","hooks_url":"https://api.github.com/repos/fchollet/keras/hooks","issue_events_url":"https://api.github.com/repos/fchollet/keras/issues/events{/number}","events_url":"https://api.github.com/repos/fchollet/keras/events","assignees_url":"https://api.github.com/repos/fchollet/keras/assignees{/user}","branches_url":"https://api.github.com/repos/fchollet/keras/branches{/branch}","tags_url":"https://api.github.com/repos/fchollet/keras/tags","blobs_url":"https://api.github.com/repos/fchollet/keras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fchollet/keras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fchollet/keras/git/refs{/sha}","trees_url":"https://api.github.com/repos/fchollet/keras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fchollet/keras/statuses/{sha}","languages_url":"https://api.github.com/repos/fchollet/keras/languages","stargazers_url":"https://api.github.com/repos/fchollet/keras/stargazers","contributors_url":"https://api.github.com/repos/fchollet/keras/contributors","subscribers_url":"https://api.github.com/repos/fchollet/keras/subscribers","subscription_url":"https://api.github.com/repos/fchollet/keras/subscription","commits_url":"https://api.github.com/repos/fchollet/keras/commits{/sha}","git_commits_url":"https://api.github.com/repos/fchollet/keras/git/commits{/sha}","comments_url":"https://api.github.com/repos/fchollet/keras/comments{/number}","issue_comment_url":"https://api.github.com/repos/fchollet/keras/issues/comments{/number}","contents_url":"https://api.github.com/repos/fchollet/keras/contents/{+path}","compare_url":"https://api.github.com/repos/fchollet/keras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fchollet/keras/merges","archive_url":"https://api.github.com/repos/fchollet/keras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fchollet/keras/downloads","issues_url":"https://api.github.com/repos/fchollet/keras/issues{/number}","pulls_url":"https://api.github.com/repos/fchollet/keras/pulls{/number}","milestones_url":"https://api.github.com/repos/fchollet/keras/milestones{/number}","notifications_url":"https://api.github.com/repos/fchollet/keras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fchollet/keras/labels{/name}","releases_url":"https://api.github.com/repos/fchollet/keras/releases{/id}","created_at":"2015-03-28T00:35:42Z","updated_at":"2015-06-28T13:26:35Z","pushed_at":"2015-06-28T08:54:15Z","git_url":"git://github.com/fchollet/keras.git","ssh_url":"git@github.com:fchollet/keras.git","clone_url":"https://github.com/fchollet/keras.git","svn_url":"https://github.com/fchollet/keras","homepage":"http://keras.io/","size":2504,"stargazers_count":2129,"watchers_count":2129,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":313,"mirror_url":null,"open_issues_count":56,"forks":313,"open_issues":56,"watchers":2129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fchollet/keras/pulls/291"},"html":{"href":"https://github.com/fchollet/keras/pull/291"},"issue":{"href":"https://api.github.com/repos/fchollet/keras/issues/291"},"comments":{"href":"https://api.github.com/repos/fchollet/keras/issues/291/comments"},"review_comments":{"href":"https://api.github.com/repos/fchollet/keras/pulls/291/comments"},"review_comment":{"href":"https://api.github.com/repos/fchollet/keras/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fchollet/keras/pulls/291/commits"},"statuses":{"href":"https://api.github.com/repos/fchollet/keras/statuses/642f3dd20db15dce345e334ad23606414805439e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":22,"additions":365,"deletions":396,"changed_files":8}}