{"action":"closed","number":16989,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/16989","id":349756647,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ5NzU2NjQ3","html_url":"https://github.com/apache/incubator-mxnet/pull/16989","diff_url":"https://github.com/apache/incubator-mxnet/pull/16989.diff","patch_url":"https://github.com/apache/incubator-mxnet/pull/16989.patch","issue_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/16989","number":16989,"state":"closed","locked":false,"title":"Op_Diagonal [Numpy]","user":{"login":"Tommliu","id":40382964,"node_id":"MDQ6VXNlcjQwMzgyOTY0","avatar_url":"https://avatars3.githubusercontent.com/u/40382964?v=4","gravatar_id":"","url":"https://api.github.com/users/Tommliu","html_url":"https://github.com/Tommliu","followers_url":"https://api.github.com/users/Tommliu/followers","following_url":"https://api.github.com/users/Tommliu/following{/other_user}","gists_url":"https://api.github.com/users/Tommliu/gists{/gist_id}","starred_url":"https://api.github.com/users/Tommliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tommliu/subscriptions","organizations_url":"https://api.github.com/users/Tommliu/orgs","repos_url":"https://api.github.com/users/Tommliu/repos","events_url":"https://api.github.com/users/Tommliu/events{/privacy}","received_events_url":"https://api.github.com/users/Tommliu/received_events","type":"User","site_admin":false},"body":"## Description ##\r\nOp_Diagonal PR\r\n\r\n## Checklist ##\r\n### Essentials ###\r\nPlease feel free to remove inapplicable items for your PR.\r\n- [ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant [JIRA issue](https://issues.apache.org/jira/projects/MXNET/issues) created (except PRs with tiny changes)\r\n- [ ] Changes are complete (i.e. I finished coding on this PR)\r\n- [ ] All changes have test coverage:\r\n- Unit tests are added for small changes to verify correctness (e.g. adding a new operator)\r\n- Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)\r\n- Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)\r\n- [ ] Code is well-documented: \r\n- For user-facing API changes, API doc string has been updated. \r\n- For new C++ functions in header files, their functionalities and arguments are documented. \r\n- For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable\r\n- Check the API doc at https://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html\r\n- [ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change\r\n\r\n### Changes ###\r\n- [ ] Feature1, tests, (and when applicable, API doc)\r\n- [ ] Feature2, tests, (and when applicable, API doc)\r\n\r\n## Comments ##\r\n- If this change is a backward incompatible change, why must this change be made.\r\n- Interesting edge cases to note here\r\n","created_at":"2019-12-06T04:16:04Z","updated_at":"2019-12-10T01:52:40Z","closed_at":"2019-12-10T01:52:40Z","merged_at":"2019-12-10T01:52:40Z","merge_commit_sha":"59535dbe7e0a135ad0c9378940d4bb3442df4ace","assignee":{"login":"haojin2","id":11465736,"node_id":"MDQ6VXNlcjExNDY1NzM2","avatar_url":"https://avatars3.githubusercontent.com/u/11465736?v=4","gravatar_id":"","url":"https://api.github.com/users/haojin2","html_url":"https://github.com/haojin2","followers_url":"https://api.github.com/users/haojin2/followers","following_url":"https://api.github.com/users/haojin2/following{/other_user}","gists_url":"https://api.github.com/users/haojin2/gists{/gist_id}","starred_url":"https://api.github.com/users/haojin2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haojin2/subscriptions","organizations_url":"https://api.github.com/users/haojin2/orgs","repos_url":"https://api.github.com/users/haojin2/repos","events_url":"https://api.github.com/users/haojin2/events{/privacy}","received_events_url":"https://api.github.com/users/haojin2/received_events","type":"User","site_admin":false},"assignees":[{"login":"haojin2","id":11465736,"node_id":"MDQ6VXNlcjExNDY1NzM2","avatar_url":"https://avatars3.githubusercontent.com/u/11465736?v=4","gravatar_id":"","url":"https://api.github.com/users/haojin2","html_url":"https://github.com/haojin2","followers_url":"https://api.github.com/users/haojin2/followers","following_url":"https://api.github.com/users/haojin2/following{/other_user}","gists_url":"https://api.github.com/users/haojin2/gists{/gist_id}","starred_url":"https://api.github.com/users/haojin2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haojin2/subscriptions","organizations_url":"https://api.github.com/users/haojin2/orgs","repos_url":"https://api.github.com/users/haojin2/repos","events_url":"https://api.github.com/users/haojin2/events{/privacy}","received_events_url":"https://api.github.com/users/haojin2/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"szha","id":2626883,"node_id":"MDQ6VXNlcjI2MjY4ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/2626883?v=4","gravatar_id":"","url":"https://api.github.com/users/szha","html_url":"https://github.com/szha","followers_url":"https://api.github.com/users/szha/followers","following_url":"https://api.github.com/users/szha/following{/other_user}","gists_url":"https://api.github.com/users/szha/gists{/gist_id}","starred_url":"https://api.github.com/users/szha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szha/subscriptions","organizations_url":"https://api.github.com/users/szha/orgs","repos_url":"https://api.github.com/users/szha/repos","events_url":"https://api.github.com/users/szha/events{/privacy}","received_events_url":"https://api.github.com/users/szha/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1232775555,"node_id":"MDU6TGFiZWwxMjMyNzc1NTU1","url":"https://api.github.com/repos/apache/incubator-mxnet/labels/Numpy","name":"Numpy","color":"b2ffba","default":false,"description":""}],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/16989/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/16989/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-mxnet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/16989/comments","statuses_url":"https://api.github.com/repos/apache/incubator-mxnet/statuses/81062ceeffa7de2f07428cab13317dd825417a48","head":{"label":"Tommliu:diagonal","ref":"diagonal","sha":"81062ceeffa7de2f07428cab13317dd825417a48","user":{"login":"Tommliu","id":40382964,"node_id":"MDQ6VXNlcjQwMzgyOTY0","avatar_url":"https://avatars3.githubusercontent.com/u/40382964?v=4","gravatar_id":"","url":"https://api.github.com/users/Tommliu","html_url":"https://github.com/Tommliu","followers_url":"https://api.github.com/users/Tommliu/followers","following_url":"https://api.github.com/users/Tommliu/following{/other_user}","gists_url":"https://api.github.com/users/Tommliu/gists{/gist_id}","starred_url":"https://api.github.com/users/Tommliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tommliu/subscriptions","organizations_url":"https://api.github.com/users/Tommliu/orgs","repos_url":"https://api.github.com/users/Tommliu/repos","events_url":"https://api.github.com/users/Tommliu/events{/privacy}","received_events_url":"https://api.github.com/users/Tommliu/received_events","type":"User","site_admin":false},"repo":{"id":219631509,"node_id":"MDEwOlJlcG9zaXRvcnkyMTk2MzE1MDk=","name":"incubator-mxnet","full_name":"Tommliu/incubator-mxnet","private":false,"owner":{"login":"Tommliu","id":40382964,"node_id":"MDQ6VXNlcjQwMzgyOTY0","avatar_url":"https://avatars3.githubusercontent.com/u/40382964?v=4","gravatar_id":"","url":"https://api.github.com/users/Tommliu","html_url":"https://github.com/Tommliu","followers_url":"https://api.github.com/users/Tommliu/followers","following_url":"https://api.github.com/users/Tommliu/following{/other_user}","gists_url":"https://api.github.com/users/Tommliu/gists{/gist_id}","starred_url":"https://api.github.com/users/Tommliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tommliu/subscriptions","organizations_url":"https://api.github.com/users/Tommliu/orgs","repos_url":"https://api.github.com/users/Tommliu/repos","events_url":"https://api.github.com/users/Tommliu/events{/privacy}","received_events_url":"https://api.github.com/users/Tommliu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Tommliu/incubator-mxnet","description":"Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more","fork":true,"url":"https://api.github.com/repos/Tommliu/incubator-mxnet","forks_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/forks","keys_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/teams","hooks_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/hooks","issue_events_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/issues/events{/number}","events_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/events","assignees_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/assignees{/user}","branches_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/branches{/branch}","tags_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/tags","blobs_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/statuses/{sha}","languages_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/languages","stargazers_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/stargazers","contributors_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/contributors","subscribers_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/subscribers","subscription_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/subscription","commits_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/contents/{+path}","compare_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/merges","archive_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/downloads","issues_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/issues{/number}","pulls_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/pulls{/number}","milestones_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/milestones{/number}","notifications_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/labels{/name}","releases_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/releases{/id}","deployments_url":"https://api.github.com/repos/Tommliu/incubator-mxnet/deployments","created_at":"2019-11-05T01:32:52Z","updated_at":"2019-11-18T06:13:17Z","pushed_at":"2019-12-09T03:24:29Z","git_url":"git://github.com/Tommliu/incubator-mxnet.git","ssh_url":"git@github.com:Tommliu/incubator-mxnet.git","clone_url":"https://github.com/Tommliu/incubator-mxnet.git","svn_url":"https://github.com/Tommliu/incubator-mxnet","homepage":"https://mxnet.apache.org","size":75164,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"d58f6cb01803f255f8d42c740bc399d083db4640","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":34864402,"node_id":"MDEwOlJlcG9zaXRvcnkzNDg2NDQwMg==","name":"incubator-mxnet","full_name":"apache/incubator-mxnet","private":false,"owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apache/incubator-mxnet","description":"Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more","fork":false,"url":"https://api.github.com/repos/apache/incubator-mxnet","forks_url":"https://api.github.com/repos/apache/incubator-mxnet/forks","keys_url":"https://api.github.com/repos/apache/incubator-mxnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-mxnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-mxnet/teams","hooks_url":"https://api.github.com/repos/apache/incubator-mxnet/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-mxnet/events","assignees_url":"https://api.github.com/repos/apache/incubator-mxnet/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-mxnet/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-mxnet/tags","blobs_url":"https://api.github.com/repos/apache/incubator-mxnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-mxnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-mxnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-mxnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-mxnet/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-mxnet/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-mxnet/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-mxnet/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-mxnet/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-mxnet/subscription","commits_url":"https://api.github.com/repos/apache/incubator-mxnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-mxnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-mxnet/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-mxnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-mxnet/merges","archive_url":"https://api.github.com/repos/apache/incubator-mxnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-mxnet/downloads","issues_url":"https://api.github.com/repos/apache/incubator-mxnet/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-mxnet/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-mxnet/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-mxnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-mxnet/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-mxnet/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-mxnet/deployments","created_at":"2015-04-30T16:21:15Z","updated_at":"2019-12-10T01:24:06Z","pushed_at":"2019-12-10T01:52:40Z","git_url":"git://github.com/apache/incubator-mxnet.git","ssh_url":"git@github.com:apache/incubator-mxnet.git","clone_url":"https://github.com/apache/incubator-mxnet.git","svn_url":"https://github.com/apache/incubator-mxnet","homepage":"https://mxnet.apache.org","size":75877,"stargazers_count":18132,"watchers_count":18132,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6453,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1585,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":6453,"open_issues":1585,"watchers":18132,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/16989"},"html":{"href":"https://github.com/apache/incubator-mxnet/pull/16989"},"issue":{"href":"https://api.github.com/repos/apache/incubator-mxnet/issues/16989"},"comments":{"href":"https://api.github.com/repos/apache/incubator-mxnet/issues/16989/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/16989/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-mxnet/pulls/16989/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-mxnet/statuses/81062ceeffa7de2f07428cab13317dd825417a48"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"haojin2","id":11465736,"node_id":"MDQ6VXNlcjExNDY1NzM2","avatar_url":"https://avatars3.githubusercontent.com/u/11465736?v=4","gravatar_id":"","url":"https://api.github.com/users/haojin2","html_url":"https://github.com/haojin2","followers_url":"https://api.github.com/users/haojin2/followers","following_url":"https://api.github.com/users/haojin2/following{/other_user}","gists_url":"https://api.github.com/users/haojin2/gists{/gist_id}","starred_url":"https://api.github.com/users/haojin2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haojin2/subscriptions","organizations_url":"https://api.github.com/users/haojin2/orgs","repos_url":"https://api.github.com/users/haojin2/repos","events_url":"https://api.github.com/users/haojin2/events{/privacy}","received_events_url":"https://api.github.com/users/haojin2/received_events","type":"User","site_admin":false},"comments":1,"review_comments":3,"maintainer_can_modify":false,"commits":2,"additions":398,"deletions":1,"changed_files":7}}
{"actor":{"display_login":"haojin2"}}