{"action":"created","comment":{"url":"https://api.github.com/repos/keras-team/keras/pulls/comments/242310742","pull_request_review_id":185789823,"id":242310742,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MjMxMDc0Mg==","diff_hunk":"@@ -2525,6 +2557,7 @@ def one_hot(indices, num_classes):\n     # Returns\n         (n + 1)D one hot representation of the input\n         with shape `(batch_size, dim1, dim2, ... dim(n-1), num_classes)`\n+    {{np_implementation}}","path":"keras/backend/tensorflow_backend.py","position":269,"original_position":269,"commit_id":"e8a5c649b2ad88a486901d57dec0103dd5669b52","original_commit_id":"e8a5c649b2ad88a486901d57dec0103dd5669b52","user":{"login":"gabrieldemarmiesse","id":12891691,"node_id":"MDQ6VXNlcjEyODkxNjkx","avatar_url":"https://avatars1.githubusercontent.com/u/12891691?v=4","gravatar_id":"","url":"https://api.github.com/users/gabrieldemarmiesse","html_url":"https://github.com/gabrieldemarmiesse","followers_url":"https://api.github.com/users/gabrieldemarmiesse/followers","following_url":"https://api.github.com/users/gabrieldemarmiesse/following{/other_user}","gists_url":"https://api.github.com/users/gabrieldemarmiesse/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrieldemarmiesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrieldemarmiesse/subscriptions","organizations_url":"https://api.github.com/users/gabrieldemarmiesse/orgs","repos_url":"https://api.github.com/users/gabrieldemarmiesse/repos","events_url":"https://api.github.com/users/gabrieldemarmiesse/events{/privacy}","received_events_url":"https://api.github.com/users/gabrieldemarmiesse/received_events","type":"User","site_admin":false},"body":"If I remember correctly, we use `to_categorical` for this one. Since the imports are not added in the docs, users will wonder what `to_categorical` is. Let's remove {{np_implementation}} it until we find another way to display it nicely.","created_at":"2018-12-17T20:49:00Z","updated_at":"2018-12-17T20:51:36Z","html_url":"https://github.com/keras-team/keras/pull/11880#discussion_r242310742","pull_request_url":"https://api.github.com/repos/keras-team/keras/pulls/11880","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/keras-team/keras/pulls/comments/242310742"},"html":{"href":"https://github.com/keras-team/keras/pull/11880#discussion_r242310742"},"pull_request":{"href":"https://api.github.com/repos/keras-team/keras/pulls/11880"}}},"pull_request":{"url":"https://api.github.com/repos/keras-team/keras/pulls/11880","id":238977812,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4OTc3ODEy","html_url":"https://github.com/keras-team/keras/pull/11880","diff_url":"https://github.com/keras-team/keras/pull/11880.diff","patch_url":"https://github.com/keras-team/keras/pull/11880.patch","issue_url":"https://api.github.com/repos/keras-team/keras/issues/11880","number":11880,"state":"open","locked":false,"title":"Add numpy documentation","user":{"login":"kouml","id":23252616,"node_id":"MDQ6VXNlcjIzMjUyNjE2","avatar_url":"https://avatars2.githubusercontent.com/u/23252616?v=4","gravatar_id":"","url":"https://api.github.com/users/kouml","html_url":"https://github.com/kouml","followers_url":"https://api.github.com/users/kouml/followers","following_url":"https://api.github.com/users/kouml/following{/other_user}","gists_url":"https://api.github.com/users/kouml/gists{/gist_id}","starred_url":"https://api.github.com/users/kouml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kouml/subscriptions","organizations_url":"https://api.github.com/users/kouml/orgs","repos_url":"https://api.github.com/users/kouml/repos","events_url":"https://api.github.com/users/kouml/events{/privacy}","received_events_url":"https://api.github.com/users/kouml/received_events","type":"User","site_admin":false},"body":"### Summary\r\nAdd numpy documentation like \"{{np_implementation}}\" in methods.","created_at":"2018-12-16T17:01:59Z","updated_at":"2018-12-17T20:51:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eec5852442e3385a66fc5e6448ac16268b9f0d73","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/keras-team/keras/pulls/11880/commits","review_comments_url":"https://api.github.com/repos/keras-team/keras/pulls/11880/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/11880/comments","statuses_url":"https://api.github.com/repos/keras-team/keras/statuses/e8a5c649b2ad88a486901d57dec0103dd5669b52","head":{"label":"kouml:add_numpy_documentation","ref":"add_numpy_documentation","sha":"e8a5c649b2ad88a486901d57dec0103dd5669b52","user":{"login":"kouml","id":23252616,"node_id":"MDQ6VXNlcjIzMjUyNjE2","avatar_url":"https://avatars2.githubusercontent.com/u/23252616?v=4","gravatar_id":"","url":"https://api.github.com/users/kouml","html_url":"https://github.com/kouml","followers_url":"https://api.github.com/users/kouml/followers","following_url":"https://api.github.com/users/kouml/following{/other_user}","gists_url":"https://api.github.com/users/kouml/gists{/gist_id}","starred_url":"https://api.github.com/users/kouml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kouml/subscriptions","organizations_url":"https://api.github.com/users/kouml/orgs","repos_url":"https://api.github.com/users/kouml/repos","events_url":"https://api.github.com/users/kouml/events{/privacy}","received_events_url":"https://api.github.com/users/kouml/received_events","type":"User","site_admin":false},"repo":{"id":115623520,"node_id":"MDEwOlJlcG9zaXRvcnkxMTU2MjM1MjA=","name":"keras","full_name":"kouml/keras","private":false,"owner":{"login":"kouml","id":23252616,"node_id":"MDQ6VXNlcjIzMjUyNjE2","avatar_url":"https://avatars2.githubusercontent.com/u/23252616?v=4","gravatar_id":"","url":"https://api.github.com/users/kouml","html_url":"https://github.com/kouml","followers_url":"https://api.github.com/users/kouml/followers","following_url":"https://api.github.com/users/kouml/following{/other_user}","gists_url":"https://api.github.com/users/kouml/gists{/gist_id}","starred_url":"https://api.github.com/users/kouml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kouml/subscriptions","organizations_url":"https://api.github.com/users/kouml/orgs","repos_url":"https://api.github.com/users/kouml/repos","events_url":"https://api.github.com/users/kouml/events{/privacy}","received_events_url":"https://api.github.com/users/kouml/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kouml/keras","description":"Deep Learning for humans","fork":true,"url":"https://api.github.com/repos/kouml/keras","forks_url":"https://api.github.com/repos/kouml/keras/forks","keys_url":"https://api.github.com/repos/kouml/keras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kouml/keras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kouml/keras/teams","hooks_url":"https://api.github.com/repos/kouml/keras/hooks","issue_events_url":"https://api.github.com/repos/kouml/keras/issues/events{/number}","events_url":"https://api.github.com/repos/kouml/keras/events","assignees_url":"https://api.github.com/repos/kouml/keras/assignees{/user}","branches_url":"https://api.github.com/repos/kouml/keras/branches{/branch}","tags_url":"https://api.github.com/repos/kouml/keras/tags","blobs_url":"https://api.github.com/repos/kouml/keras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kouml/keras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kouml/keras/git/refs{/sha}","trees_url":"https://api.github.com/repos/kouml/keras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kouml/keras/statuses/{sha}","languages_url":"https://api.github.com/repos/kouml/keras/languages","stargazers_url":"https://api.github.com/repos/kouml/keras/stargazers","contributors_url":"https://api.github.com/repos/kouml/keras/contributors","subscribers_url":"https://api.github.com/repos/kouml/keras/subscribers","subscription_url":"https://api.github.com/repos/kouml/keras/subscription","commits_url":"https://api.github.com/repos/kouml/keras/commits{/sha}","git_commits_url":"https://api.github.com/repos/kouml/keras/git/commits{/sha}","comments_url":"https://api.github.com/repos/kouml/keras/comments{/number}","issue_comment_url":"https://api.github.com/repos/kouml/keras/issues/comments{/number}","contents_url":"https://api.github.com/repos/kouml/keras/contents/{+path}","compare_url":"https://api.github.com/repos/kouml/keras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kouml/keras/merges","archive_url":"https://api.github.com/repos/kouml/keras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kouml/keras/downloads","issues_url":"https://api.github.com/repos/kouml/keras/issues{/number}","pulls_url":"https://api.github.com/repos/kouml/keras/pulls{/number}","milestones_url":"https://api.github.com/repos/kouml/keras/milestones{/number}","notifications_url":"https://api.github.com/repos/kouml/keras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kouml/keras/labels{/name}","releases_url":"https://api.github.com/repos/kouml/keras/releases{/id}","deployments_url":"https://api.github.com/repos/kouml/keras/deployments","created_at":"2017-12-28T12:57:16Z","updated_at":"2018-09-24T15:47:37Z","pushed_at":"2018-12-16T16:58:09Z","git_url":"git://github.com/kouml/keras.git","ssh_url":"git@github.com:kouml/keras.git","clone_url":"https://github.com/kouml/keras.git","svn_url":"https://github.com/kouml/keras","homepage":"http://keras.io/","size":12281,"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":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"keras-team:master","ref":"master","sha":"88af7d0c97497b5c3a198ee9416b2accfbc72c36","user":{"login":"keras-team","id":34455048,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NDU1MDQ4","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,"node_id":"MDEwOlJlcG9zaXRvcnkzMzAxNTU4Mw==","name":"keras","full_name":"keras-team/keras","private":false,"owner":{"login":"keras-team","id":34455048,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NDU1MDQ4","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},"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-12-17T19:47:18Z","pushed_at":"2018-12-17T17:38:56Z","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":12255,"stargazers_count":36490,"watchers_count":36490,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13927,"mirror_url":null,"archived":false,"open_issues_count":2021,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":13927,"open_issues":2021,"watchers":36490,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keras-team/keras/pulls/11880"},"html":{"href":"https://github.com/keras-team/keras/pull/11880"},"issue":{"href":"https://api.github.com/repos/keras-team/keras/issues/11880"},"comments":{"href":"https://api.github.com/repos/keras-team/keras/issues/11880/comments"},"review_comments":{"href":"https://api.github.com/repos/keras-team/keras/pulls/11880/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/11880/commits"},"statuses":{"href":"https://api.github.com/repos/keras-team/keras/statuses/e8a5c649b2ad88a486901d57dec0103dd5669b52"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gabrieldemarmiesse"}}