{"action":"closed","number":12926,"pull_request":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/12926","id":140154043,"html_url":"https://github.com/tensorflow/tensorflow/pull/12926","diff_url":"https://github.com/tensorflow/tensorflow/pull/12926.diff","patch_url":"https://github.com/tensorflow/tensorflow/pull/12926.patch","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/12926","number":12926,"state":"closed","locked":false,"title":"Elastic Average optimizer ","user":{"login":"jinxin0924","id":8096033,"avatar_url":"https://avatars0.githubusercontent.com/u/8096033?v=4","gravatar_id":"","url":"https://api.github.com/users/jinxin0924","html_url":"https://github.com/jinxin0924","followers_url":"https://api.github.com/users/jinxin0924/followers","following_url":"https://api.github.com/users/jinxin0924/following{/other_user}","gists_url":"https://api.github.com/users/jinxin0924/gists{/gist_id}","starred_url":"https://api.github.com/users/jinxin0924/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinxin0924/subscriptions","organizations_url":"https://api.github.com/users/jinxin0924/orgs","repos_url":"https://api.github.com/users/jinxin0924/repos","events_url":"https://api.github.com/users/jinxin0924/events{/privacy}","received_events_url":"https://api.github.com/users/jinxin0924/received_events","type":"User","site_admin":false},"body":"I have implemented a new distributed optimizer \"ElasticAverageOptimizer\". It is mentioned in the following issue:\r\n[#12472](https://github.com/tensorflow/tensorflow/issues/12472#issuecomment-327976993)\r\n\r\nEASGD is an async optimizer. During the training, Each worker will update the local variables and maintains its own local_step, which starts from 0 and is incremented by 1 after each update of local variables. Whenever the communication period divides the local step, the worker requests the current global center variables and then computed the elastic difference between global center variables and local variables. The elastic difference then be used to update both local variables and global variables.\r\n\r\n**[Reference]**: https://arxiv.org/pdf/1412.6651.pdf","created_at":"2017-09-09T03:23:51Z","updated_at":"2017-09-09T04:21:40Z","closed_at":"2017-09-09T04:21:40Z","merged_at":null,"merge_commit_sha":"dc0094091e3d5f412ceaec6284a593a83f617490","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/12926/commits","review_comments_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/12926/comments","review_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/12926/comments","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/271e19b668525d48f9d065358abcc52056a04cb0","head":{"label":"jinxin0924:easgd","ref":"easgd","sha":"271e19b668525d48f9d065358abcc52056a04cb0","user":{"login":"jinxin0924","id":8096033,"avatar_url":"https://avatars0.githubusercontent.com/u/8096033?v=4","gravatar_id":"","url":"https://api.github.com/users/jinxin0924","html_url":"https://github.com/jinxin0924","followers_url":"https://api.github.com/users/jinxin0924/followers","following_url":"https://api.github.com/users/jinxin0924/following{/other_user}","gists_url":"https://api.github.com/users/jinxin0924/gists{/gist_id}","starred_url":"https://api.github.com/users/jinxin0924/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinxin0924/subscriptions","organizations_url":"https://api.github.com/users/jinxin0924/orgs","repos_url":"https://api.github.com/users/jinxin0924/repos","events_url":"https://api.github.com/users/jinxin0924/events{/privacy}","received_events_url":"https://api.github.com/users/jinxin0924/received_events","type":"User","site_admin":false},"repo":{"id":59570343,"name":"tensorflow","full_name":"jinxin0924/tensorflow","owner":{"login":"jinxin0924","id":8096033,"avatar_url":"https://avatars0.githubusercontent.com/u/8096033?v=4","gravatar_id":"","url":"https://api.github.com/users/jinxin0924","html_url":"https://github.com/jinxin0924","followers_url":"https://api.github.com/users/jinxin0924/followers","following_url":"https://api.github.com/users/jinxin0924/following{/other_user}","gists_url":"https://api.github.com/users/jinxin0924/gists{/gist_id}","starred_url":"https://api.github.com/users/jinxin0924/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinxin0924/subscriptions","organizations_url":"https://api.github.com/users/jinxin0924/orgs","repos_url":"https://api.github.com/users/jinxin0924/repos","events_url":"https://api.github.com/users/jinxin0924/events{/privacy}","received_events_url":"https://api.github.com/users/jinxin0924/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jinxin0924/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":true,"url":"https://api.github.com/repos/jinxin0924/tensorflow","forks_url":"https://api.github.com/repos/jinxin0924/tensorflow/forks","keys_url":"https://api.github.com/repos/jinxin0924/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jinxin0924/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jinxin0924/tensorflow/teams","hooks_url":"https://api.github.com/repos/jinxin0924/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/jinxin0924/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/jinxin0924/tensorflow/events","assignees_url":"https://api.github.com/repos/jinxin0924/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/jinxin0924/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/jinxin0924/tensorflow/tags","blobs_url":"https://api.github.com/repos/jinxin0924/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jinxin0924/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jinxin0924/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/jinxin0924/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jinxin0924/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/jinxin0924/tensorflow/languages","stargazers_url":"https://api.github.com/repos/jinxin0924/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/jinxin0924/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/jinxin0924/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/jinxin0924/tensorflow/subscription","commits_url":"https://api.github.com/repos/jinxin0924/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/jinxin0924/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/jinxin0924/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/jinxin0924/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/jinxin0924/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/jinxin0924/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jinxin0924/tensorflow/merges","archive_url":"https://api.github.com/repos/jinxin0924/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jinxin0924/tensorflow/downloads","issues_url":"https://api.github.com/repos/jinxin0924/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/jinxin0924/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/jinxin0924/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/jinxin0924/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jinxin0924/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/jinxin0924/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/jinxin0924/tensorflow/deployments","created_at":"2016-05-24T12:15:40Z","updated_at":"2016-05-24T12:15:49Z","pushed_at":"2017-09-09T03:23:02Z","git_url":"git://github.com/jinxin0924/tensorflow.git","ssh_url":"git@github.com:jinxin0924/tensorflow.git","clone_url":"https://github.com/jinxin0924/tensorflow.git","svn_url":"https://github.com/jinxin0924/tensorflow","homepage":"http://tensorflow.org","size":124050,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"tensorflow:master","ref":"master","sha":"32ffc5a81eee8c39bbe71536212a773b1ffd4eb2","user":{"login":"tensorflow","id":15658638,"avatar_url":"https://avatars1.githubusercontent.com/u/15658638?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"repo":{"id":45717250,"name":"tensorflow","full_name":"tensorflow/tensorflow","owner":{"login":"tensorflow","id":15658638,"avatar_url":"https://avatars1.githubusercontent.com/u/15658638?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tensorflow/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":false,"url":"https://api.github.com/repos/tensorflow/tensorflow","forks_url":"https://api.github.com/repos/tensorflow/tensorflow/forks","keys_url":"https://api.github.com/repos/tensorflow/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tensorflow/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tensorflow/tensorflow/teams","hooks_url":"https://api.github.com/repos/tensorflow/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/tensorflow/tensorflow/events","assignees_url":"https://api.github.com/repos/tensorflow/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/tensorflow/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/tensorflow/tensorflow/tags","blobs_url":"https://api.github.com/repos/tensorflow/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tensorflow/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tensorflow/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/tensorflow/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/tensorflow/tensorflow/languages","stargazers_url":"https://api.github.com/repos/tensorflow/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/tensorflow/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/tensorflow/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/tensorflow/tensorflow/subscription","commits_url":"https://api.github.com/repos/tensorflow/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/tensorflow/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/tensorflow/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/tensorflow/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tensorflow/tensorflow/merges","archive_url":"https://api.github.com/repos/tensorflow/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tensorflow/tensorflow/downloads","issues_url":"https://api.github.com/repos/tensorflow/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/tensorflow/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/tensorflow/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/tensorflow/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/tensorflow/tensorflow/deployments","created_at":"2015-11-07T01:19:20Z","updated_at":"2017-09-09T03:58:36Z","pushed_at":"2017-09-09T03:48:56Z","git_url":"git://github.com/tensorflow/tensorflow.git","ssh_url":"git@github.com:tensorflow/tensorflow.git","clone_url":"https://github.com/tensorflow/tensorflow.git","svn_url":"https://github.com/tensorflow/tensorflow","homepage":"http://tensorflow.org","size":124042,"stargazers_count":69262,"watchers_count":69262,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":34084,"mirror_url":null,"open_issues_count":1120,"forks":34084,"open_issues":1120,"watchers":69262,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/12926"},"html":{"href":"https://github.com/tensorflow/tensorflow/pull/12926"},"issue":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/12926"},"comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/12926/comments"},"review_comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/12926/comments"},"review_comment":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/12926/commits"},"statuses":{"href":"https://api.github.com/repos/tensorflow/tensorflow/statuses/271e19b668525d48f9d065358abcc52056a04cb0"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":515,"deletions":1,"changed_files":4}}
{"actor":{"display_login":"jinxin0924"}}