{"action":"created","comment":{"url":"https://api.github.com/repos/keras-team/keras/pulls/comments/240043845","pull_request_review_id":182985307,"id":240043845,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDA0Mzg0NQ==","diff_hunk":"@@ -1689,6 +1689,26 @@ def test_ctc_decode_greedy(self):\n         assert np.alltrue(decode_pred_np == decode_pred)\n         assert np.allclose(log_prob_pred_np, log_prob_pred)\n \n+    @pytest.mark.skipif(K.backend() != 'tensorflow',\n+                        reason='tensorflow-way slice is '\n+                        'only supported in tensorflow.')\n+    @pytest.mark.parametrize('npt,x_start,x_size', [\n+        (np.array([[[1, 1, 1], [2, 2, 2]],\n+                   [[3, 3, 3], [4, 4, 4]],\n+                   [[5, 5, 5], [6, 6, 6]]]), [1, 0, 0], [1, 1, 3]),\n+        (np.array([[[1, 1, 1], [2, 2, 2]],\n+                   [[3, 3, 3], [4, 4, 4]],\n+                   [[5, 5, 5], [6, 6, 6]]]), [1, 0, 0], [1, 2, 3]),\n+        (np.array([[[1, 1, 1], [2, 2, 2]],\n+                   [[3, 3, 3], [4, 4, 4]],\n+                   [[5, 5, 5], [6, 6, 6]]]), [1, 0, 0], [2, 1, 3])","path":"tests/keras/backend/backend_test.py","position":16,"original_position":16,"commit_id":"e6c9ada67b45356288a8335157cd25d5e824e509","original_commit_id":"e6c9ada67b45356288a8335157cd25d5e824e509","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":"`npt` and `x_start` are always the same, they can be declared in the test function itself. It doesn't need to be in the parameters of `parametrize`.","created_at":"2018-12-09T16:35:35Z","updated_at":"2018-12-09T16:36:00Z","html_url":"https://github.com/keras-team/keras/pull/11682#discussion_r240043845","pull_request_url":"https://api.github.com/repos/keras-team/keras/pulls/11682","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/keras-team/keras/pulls/comments/240043845"},"html":{"href":"https://github.com/keras-team/keras/pull/11682#discussion_r240043845"},"pull_request":{"href":"https://api.github.com/repos/keras-team/keras/pulls/11682"}}},"pull_request":{"url":"https://api.github.com/repos/keras-team/keras/pulls/11682","id":232071443,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyMDcxNDQz","html_url":"https://github.com/keras-team/keras/pull/11682","diff_url":"https://github.com/keras-team/keras/pull/11682.diff","patch_url":"https://github.com/keras-team/keras/pull/11682.patch","issue_url":"https://api.github.com/repos/keras-team/keras/issues/11682","number":11682,"state":"open","locked":false,"title":"Add tensorflow-like slice in numpy backend","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 tensorflow like slice feature in numpy backend.\r\n","created_at":"2018-11-19T18:32:04Z","updated_at":"2018-12-09T16:36:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df1d78f3de0015f81c5942241c569aeae9122246","assignee":{"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},"assignees":[{"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}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/keras-team/keras/pulls/11682/commits","review_comments_url":"https://api.github.com/repos/keras-team/keras/pulls/11682/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/11682/comments","statuses_url":"https://api.github.com/repos/keras-team/keras/statuses/e6c9ada67b45356288a8335157cd25d5e824e509","head":{"label":"kouml:numpy_backend_slice","ref":"numpy_backend_slice","sha":"e6c9ada67b45356288a8335157cd25d5e824e509","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-09T16:09:27Z","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":12064,"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":"dcb5e3cf152977209c7122f6b07d6c86fb4cf1e6","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-09T16:22:10Z","pushed_at":"2018-12-09T16:09:43Z","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":12205,"stargazers_count":36220,"watchers_count":36220,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13848,"mirror_url":null,"archived":false,"open_issues_count":2010,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":13848,"open_issues":2010,"watchers":36220,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/keras-team/keras/pulls/11682"},"html":{"href":"https://github.com/keras-team/keras/pull/11682"},"issue":{"href":"https://api.github.com/repos/keras-team/keras/issues/11682"},"comments":{"href":"https://api.github.com/repos/keras-team/keras/issues/11682/comments"},"review_comments":{"href":"https://api.github.com/repos/keras-team/keras/pulls/11682/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/11682/commits"},"statuses":{"href":"https://api.github.com/repos/keras-team/keras/statuses/e6c9ada67b45356288a8335157cd25d5e824e509"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gabrieldemarmiesse"}}