{"action":"opened","number":584,"pull_request":{"url":"https://api.github.com/repos/fchollet/keras/pulls/584","id":43118801,"html_url":"https://github.com/fchollet/keras/pull/584","diff_url":"https://github.com/fchollet/keras/pull/584.diff","patch_url":"https://github.com/fchollet/keras/pull/584.patch","issue_url":"https://api.github.com/repos/fchollet/keras/issues/584","number":584,"state":"open","locked":false,"title":"Allow objective tensors to be more than 2D","user":{"login":"jonilaserson","id":5720840,"avatar_url":"https://avatars.githubusercontent.com/u/5720840?v=3","gravatar_id":"","url":"https://api.github.com/users/jonilaserson","html_url":"https://github.com/jonilaserson","followers_url":"https://api.github.com/users/jonilaserson/followers","following_url":"https://api.github.com/users/jonilaserson/following{/other_user}","gists_url":"https://api.github.com/users/jonilaserson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonilaserson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonilaserson/subscriptions","organizations_url":"https://api.github.com/users/jonilaserson/orgs","repos_url":"https://api.github.com/users/jonilaserson/repos","events_url":"https://api.github.com/users/jonilaserson/events{/privacy}","received_events_url":"https://api.github.com/users/jonilaserson/received_events","type":"User","site_admin":false},"body":"This forces the sample weights to be a 2D tensor of shape (MINIBATCH, 1).\r\nAs a result, the tensors y_pred and y_true retain their shape when the 'weighted' objective function is generated (line 66) and the user can generate his/her own objective functions on tensors larger than 2D.","created_at":"2015-08-23T10:07:45Z","updated_at":"2015-08-23T10:07:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fchollet/keras/pulls/584/commits","review_comments_url":"https://api.github.com/repos/fchollet/keras/pulls/584/comments","review_comment_url":"https://api.github.com/repos/fchollet/keras/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/584/comments","statuses_url":"https://api.github.com/repos/fchollet/keras/statuses/73b57201788d31879c72e232cdd11421f5f4796f","head":{"label":"jonilaserson:tensor_bug","ref":"tensor_bug","sha":"73b57201788d31879c72e232cdd11421f5f4796f","user":{"login":"jonilaserson","id":5720840,"avatar_url":"https://avatars.githubusercontent.com/u/5720840?v=3","gravatar_id":"","url":"https://api.github.com/users/jonilaserson","html_url":"https://github.com/jonilaserson","followers_url":"https://api.github.com/users/jonilaserson/followers","following_url":"https://api.github.com/users/jonilaserson/following{/other_user}","gists_url":"https://api.github.com/users/jonilaserson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonilaserson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonilaserson/subscriptions","organizations_url":"https://api.github.com/users/jonilaserson/orgs","repos_url":"https://api.github.com/users/jonilaserson/repos","events_url":"https://api.github.com/users/jonilaserson/events{/privacy}","received_events_url":"https://api.github.com/users/jonilaserson/received_events","type":"User","site_admin":false},"repo":{"id":37127046,"name":"keras","full_name":"jonilaserson/keras","owner":{"login":"jonilaserson","id":5720840,"avatar_url":"https://avatars.githubusercontent.com/u/5720840?v=3","gravatar_id":"","url":"https://api.github.com/users/jonilaserson","html_url":"https://github.com/jonilaserson","followers_url":"https://api.github.com/users/jonilaserson/followers","following_url":"https://api.github.com/users/jonilaserson/following{/other_user}","gists_url":"https://api.github.com/users/jonilaserson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonilaserson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonilaserson/subscriptions","organizations_url":"https://api.github.com/users/jonilaserson/orgs","repos_url":"https://api.github.com/users/jonilaserson/repos","events_url":"https://api.github.com/users/jonilaserson/events{/privacy}","received_events_url":"https://api.github.com/users/jonilaserson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonilaserson/keras","description":"Theano-based Deep Learning library (convnets, recurrent neural networks, and more).","fork":true,"url":"https://api.github.com/repos/jonilaserson/keras","forks_url":"https://api.github.com/repos/jonilaserson/keras/forks","keys_url":"https://api.github.com/repos/jonilaserson/keras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonilaserson/keras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonilaserson/keras/teams","hooks_url":"https://api.github.com/repos/jonilaserson/keras/hooks","issue_events_url":"https://api.github.com/repos/jonilaserson/keras/issues/events{/number}","events_url":"https://api.github.com/repos/jonilaserson/keras/events","assignees_url":"https://api.github.com/repos/jonilaserson/keras/assignees{/user}","branches_url":"https://api.github.com/repos/jonilaserson/keras/branches{/branch}","tags_url":"https://api.github.com/repos/jonilaserson/keras/tags","blobs_url":"https://api.github.com/repos/jonilaserson/keras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonilaserson/keras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonilaserson/keras/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonilaserson/keras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonilaserson/keras/statuses/{sha}","languages_url":"https://api.github.com/repos/jonilaserson/keras/languages","stargazers_url":"https://api.github.com/repos/jonilaserson/keras/stargazers","contributors_url":"https://api.github.com/repos/jonilaserson/keras/contributors","subscribers_url":"https://api.github.com/repos/jonilaserson/keras/subscribers","subscription_url":"https://api.github.com/repos/jonilaserson/keras/subscription","commits_url":"https://api.github.com/repos/jonilaserson/keras/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonilaserson/keras/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonilaserson/keras/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonilaserson/keras/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonilaserson/keras/contents/{+path}","compare_url":"https://api.github.com/repos/jonilaserson/keras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonilaserson/keras/merges","archive_url":"https://api.github.com/repos/jonilaserson/keras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonilaserson/keras/downloads","issues_url":"https://api.github.com/repos/jonilaserson/keras/issues{/number}","pulls_url":"https://api.github.com/repos/jonilaserson/keras/pulls{/number}","milestones_url":"https://api.github.com/repos/jonilaserson/keras/milestones{/number}","notifications_url":"https://api.github.com/repos/jonilaserson/keras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonilaserson/keras/labels{/name}","releases_url":"https://api.github.com/repos/jonilaserson/keras/releases{/id}","created_at":"2015-06-09T11:02:35Z","updated_at":"2015-08-19T10:54:47Z","pushed_at":"2015-08-23T10:00:43Z","git_url":"git://github.com/jonilaserson/keras.git","ssh_url":"git@github.com:jonilaserson/keras.git","clone_url":"https://github.com/jonilaserson/keras.git","svn_url":"https://github.com/jonilaserson/keras","homepage":"http://keras.io/","size":1648,"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":"aa21a15bd3b1f5a32f49710d771f2c59deb9c7a0","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-08-23T09:43:20Z","pushed_at":"2015-08-21T21:59:53Z","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":3076,"stargazers_count":2562,"watchers_count":2562,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":467,"mirror_url":null,"open_issues_count":75,"forks":467,"open_issues":75,"watchers":2562,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fchollet/keras/pulls/584"},"html":{"href":"https://github.com/fchollet/keras/pull/584"},"issue":{"href":"https://api.github.com/repos/fchollet/keras/issues/584"},"comments":{"href":"https://api.github.com/repos/fchollet/keras/issues/584/comments"},"review_comments":{"href":"https://api.github.com/repos/fchollet/keras/pulls/584/comments"},"review_comment":{"href":"https://api.github.com/repos/fchollet/keras/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fchollet/keras/pulls/584/commits"},"statuses":{"href":"https://api.github.com/repos/fchollet/keras/statuses/73b57201788d31879c72e232cdd11421f5f4796f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":1}}