{"action":"opened","number":10038,"pull_request":{"url":"https://api.github.com/repos/keras-team/keras/pulls/10038","id":184051157,"html_url":"https://github.com/keras-team/keras/pull/10038","diff_url":"https://github.com/keras-team/keras/pull/10038.diff","patch_url":"https://github.com/keras-team/keras/pull/10038.patch","issue_url":"https://api.github.com/repos/keras-team/keras/issues/10038","number":10038,"state":"open","locked":false,"title":"Fix shape mismatch in `rnn()` of tensorflow_backend","user":{"login":"PeterChe1990","id":2243390,"avatar_url":"https://avatars1.githubusercontent.com/u/2243390?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterChe1990","html_url":"https://github.com/PeterChe1990","followers_url":"https://api.github.com/users/PeterChe1990/followers","following_url":"https://api.github.com/users/PeterChe1990/following{/other_user}","gists_url":"https://api.github.com/users/PeterChe1990/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterChe1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterChe1990/subscriptions","organizations_url":"https://api.github.com/users/PeterChe1990/orgs","repos_url":"https://api.github.com/users/PeterChe1990/repos","events_url":"https://api.github.com/users/PeterChe1990/events{/privacy}","received_events_url":"https://api.github.com/users/PeterChe1990/received_events","type":"User","site_admin":false},"body":"Fix the shape mismatch in `rnn()` with `not unroll` and `mask is not None` of the Tensorflow backend.\r\n\r\nProblem: If the rnn cell has any (recurrent) `states[i]` whose shape is different from that of the `output` (`states[0]`), there will raise an `ValueError` when updating that state.\r\n\r\nReason: This is because the `tiled_mask_t` is not updated correctly for each `states[i]` but instead is simply copied from that of the `output` (`states[0]`).\r\n\r\nSolution: Tile the `mask_t` with the correct shape of each `states[i]`. Notice that in a similar situation with `unroll is True`, the `tiled_mask_t` is handled correctly.","created_at":"2018-04-25T14:15:50Z","updated_at":"2018-04-25T14:15:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/keras-team/keras/pulls/10038/commits","review_comments_url":"https://api.github.com/repos/keras-team/keras/pulls/10038/comments","review_comment_url":"https://api.github.com/repos/keras-team/keras/pulls/comments{/number}","comments_url":"https://api.github.com/repos/keras-team/keras/issues/10038/comments","statuses_url":"https://api.github.com/repos/keras-team/keras/statuses/7f9ced732eff0f01c2da59efbfd127344eeb66a1","head":{"label":"PeterChe1990:master","ref":"master","sha":"7f9ced732eff0f01c2da59efbfd127344eeb66a1","user":{"login":"PeterChe1990","id":2243390,"avatar_url":"https://avatars1.githubusercontent.com/u/2243390?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterChe1990","html_url":"https://github.com/PeterChe1990","followers_url":"https://api.github.com/users/PeterChe1990/followers","following_url":"https://api.github.com/users/PeterChe1990/following{/other_user}","gists_url":"https://api.github.com/users/PeterChe1990/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterChe1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterChe1990/subscriptions","organizations_url":"https://api.github.com/users/PeterChe1990/orgs","repos_url":"https://api.github.com/users/PeterChe1990/repos","events_url":"https://api.github.com/users/PeterChe1990/events{/privacy}","received_events_url":"https://api.github.com/users/PeterChe1990/received_events","type":"User","site_admin":false},"repo":{"id":131013350,"name":"keras","full_name":"PeterChe1990/keras","owner":{"login":"PeterChe1990","id":2243390,"avatar_url":"https://avatars1.githubusercontent.com/u/2243390?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterChe1990","html_url":"https://github.com/PeterChe1990","followers_url":"https://api.github.com/users/PeterChe1990/followers","following_url":"https://api.github.com/users/PeterChe1990/following{/other_user}","gists_url":"https://api.github.com/users/PeterChe1990/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterChe1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterChe1990/subscriptions","organizations_url":"https://api.github.com/users/PeterChe1990/orgs","repos_url":"https://api.github.com/users/PeterChe1990/repos","events_url":"https://api.github.com/users/PeterChe1990/events{/privacy}","received_events_url":"https://api.github.com/users/PeterChe1990/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PeterChe1990/keras","description":"Deep Learning for humans","fork":true,"url":"https://api.github.com/repos/PeterChe1990/keras","forks_url":"https://api.github.com/repos/PeterChe1990/keras/forks","keys_url":"https://api.github.com/repos/PeterChe1990/keras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PeterChe1990/keras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PeterChe1990/keras/teams","hooks_url":"https://api.github.com/repos/PeterChe1990/keras/hooks","issue_events_url":"https://api.github.com/repos/PeterChe1990/keras/issues/events{/number}","events_url":"https://api.github.com/repos/PeterChe1990/keras/events","assignees_url":"https://api.github.com/repos/PeterChe1990/keras/assignees{/user}","branches_url":"https://api.github.com/repos/PeterChe1990/keras/branches{/branch}","tags_url":"https://api.github.com/repos/PeterChe1990/keras/tags","blobs_url":"https://api.github.com/repos/PeterChe1990/keras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PeterChe1990/keras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PeterChe1990/keras/git/refs{/sha}","trees_url":"https://api.github.com/repos/PeterChe1990/keras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PeterChe1990/keras/statuses/{sha}","languages_url":"https://api.github.com/repos/PeterChe1990/keras/languages","stargazers_url":"https://api.github.com/repos/PeterChe1990/keras/stargazers","contributors_url":"https://api.github.com/repos/PeterChe1990/keras/contributors","subscribers_url":"https://api.github.com/repos/PeterChe1990/keras/subscribers","subscription_url":"https://api.github.com/repos/PeterChe1990/keras/subscription","commits_url":"https://api.github.com/repos/PeterChe1990/keras/commits{/sha}","git_commits_url":"https://api.github.com/repos/PeterChe1990/keras/git/commits{/sha}","comments_url":"https://api.github.com/repos/PeterChe1990/keras/comments{/number}","issue_comment_url":"https://api.github.com/repos/PeterChe1990/keras/issues/comments{/number}","contents_url":"https://api.github.com/repos/PeterChe1990/keras/contents/{+path}","compare_url":"https://api.github.com/repos/PeterChe1990/keras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PeterChe1990/keras/merges","archive_url":"https://api.github.com/repos/PeterChe1990/keras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PeterChe1990/keras/downloads","issues_url":"https://api.github.com/repos/PeterChe1990/keras/issues{/number}","pulls_url":"https://api.github.com/repos/PeterChe1990/keras/pulls{/number}","milestones_url":"https://api.github.com/repos/PeterChe1990/keras/milestones{/number}","notifications_url":"https://api.github.com/repos/PeterChe1990/keras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PeterChe1990/keras/labels{/name}","releases_url":"https://api.github.com/repos/PeterChe1990/keras/releases{/id}","deployments_url":"https://api.github.com/repos/PeterChe1990/keras/deployments","created_at":"2018-04-25T13:47:53Z","updated_at":"2018-04-25T14:14:29Z","pushed_at":"2018-04-25T14:14:22Z","git_url":"git://github.com/PeterChe1990/keras.git","ssh_url":"git@github.com:PeterChe1990/keras.git","clone_url":"https://github.com/PeterChe1990/keras.git","svn_url":"https://github.com/PeterChe1990/keras","homepage":"http://keras.io/","size":10973,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"keras-team:master","ref":"master","sha":"58fd1f0589d33aeb33c4129cfedfb7737495efc0","user":{"login":"keras-team","id":34455048,"avatar_url":"https://avatars0.githubusercontent.com/u/34455048?v=4","gravatar_id":"","url":"https://api.github.com/users/keras-team","html_url":"https://github.com/keras-team","followers_url":"https://api.github.com/users/keras-team/followers","following_url":"https://api.github.com/users/keras-team/following{/other_user}","gists_url":"https://api.github.com/users/keras-team/gists{/gist_id}","starred_url":"https://api.github.com/users/keras-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keras-team/subscriptions","organizations_url":"https://api.github.com/users/keras-team/orgs","repos_url":"https://api.github.com/users/keras-team/repos","events_url":"https://api.github.com/users/keras-team/events{/privacy}","received_events_url":"https://api.github.com/users/keras-team/received_events","type":"Organization","site_admin":false},"repo":{"id":33015583,"name":"keras","full_name":"keras-team/keras","owner":{"login":"keras-team","id":34455048,"avatar_url":"https://avatars0.githubusercontent.com/u/34455048?v=4","gravatar_id":"","url":"https://api.github.com/users/keras-team","html_url":"https://github.com/keras-team","followers_url":"https://api.github.com/users/keras-team/followers","following_url":"https://api.github.com/users/keras-team/following{/other_user}","gists_url":"https://api.github.com/users/keras-team/gists{/gist_id}","starred_url":"https://api.github.com/users/keras-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keras-team/subscriptions","organizations_url":"https://api.github.com/users/keras-team/orgs","repos_url":"https://api.github.com/users/keras-team/repos","events_url":"https://api.github.com/users/keras-team/events{/privacy}","received_events_url":"https://api.github.com/users/keras-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/keras-team/keras","description":"Deep Learning for humans","fork":false,"url":"https://api.github.com/repos/keras-team/keras","forks_url":"https://api.github.com/repos/keras-team/keras/forks","keys_url":"https://api.github.com/repos/keras-team/keras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keras-team/keras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keras-team/keras/teams","hooks_url":"https://api.github.com/repos/keras-team/keras/hooks","issue_events_url":"https://api.github.com/repos/keras-team/keras/issues/events{/number}","events_url":"https://api.github.com/repos/keras-team/keras/events","assignees_url":"https://api.github.com/repos/keras-team/keras/assignees{/user}","branches_url":"https://api.github.com/repos/keras-team/keras/branches{/branch}","tags_url":"https://api.github.com/repos/keras-team/keras/tags","blobs_url":"https://api.github.com/repos/keras-team/keras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keras-team/keras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keras-team/keras/git/refs{/sha}","trees_url":"https://api.github.com/repos/keras-team/keras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keras-team/keras/statuses/{sha}","languages_url":"https://api.github.com/repos/keras-team/keras/languages","stargazers_url":"https://api.github.com/repos/keras-team/keras/stargazers","contributors_url":"https://api.github.com/repos/keras-team/keras/contributors","subscribers_url":"https://api.github.com/repos/keras-team/keras/subscribers","subscription_url":"https://api.github.com/repos/keras-team/keras/subscription","commits_url":"https://api.github.com/repos/keras-team/keras/commits{/sha}","git_commits_url":"https://api.github.com/repos/keras-team/keras/git/commits{/sha}","comments_url":"https://api.github.com/repos/keras-team/keras/comments{/number}","issue_comment_url":"https://api.github.com/repos/keras-team/keras/issues/comments{/number}","contents_url":"https://api.github.com/repos/keras-team/keras/contents/{+path}","compare_url":"https://api.github.com/repos/keras-team/keras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keras-team/keras/merges","archive_url":"https://api.github.com/repos/keras-team/keras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keras-team/keras/downloads","issues_url":"https://api.github.com/repos/keras-team/keras/issues{/number}","pulls_url":"https://api.github.com/repos/keras-team/keras/pulls{/number}","milestones_url":"https://api.github.com/repos/keras-team/keras/milestones{/number}","notifications_url":"https://api.github.com/repos/keras-team/keras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keras-team/keras/labels{/name}","releases_url":"https://api.github.com/repos/keras-team/keras/releases{/id}","deployments_url":"https://api.github.com/repos/keras-team/keras/deployments","created_at":"2015-03-28T00:35:42Z","updated_at":"2018-04-25T14:10:54Z","pushed_at":"2018-04-25T13:29:26Z","git_url":"git://github.com/keras-team/keras.git","ssh_url":"git@github.com:keras-team/keras.git","clone_url":"https://github.com/keras-team/keras.git","svn_url":"https://github.com/keras-team/keras","homepage":"http://keras.io/","size":10973,"stargazers_count":28698,"watchers_count":28698,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10632,"mirror_url":null,"archived":false,"open_issues_count":1384,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":10632,"open_issues":1384,"watchers":28698,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keras-team/keras/pulls/10038"},"html":{"href":"https://github.com/keras-team/keras/pull/10038"},"issue":{"href":"https://api.github.com/repos/keras-team/keras/issues/10038"},"comments":{"href":"https://api.github.com/repos/keras-team/keras/issues/10038/comments"},"review_comments":{"href":"https://api.github.com/repos/keras-team/keras/pulls/10038/comments"},"review_comment":{"href":"https://api.github.com/repos/keras-team/keras/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/keras-team/keras/pulls/10038/commits"},"statuses":{"href":"https://api.github.com/repos/keras-team/keras/statuses/7f9ced732eff0f01c2da59efbfd127344eeb66a1"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":4,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"PeterChe1990"}}