{"action":"closed","number":11694,"pull_request":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/11694","id":131938203,"html_url":"https://github.com/tensorflow/tensorflow/pull/11694","diff_url":"https://github.com/tensorflow/tensorflow/pull/11694.diff","patch_url":"https://github.com/tensorflow/tensorflow/pull/11694.patch","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/11694","number":11694,"state":"closed","locked":false,"title":"Add `as_default()` to `MonitoredSession`, `MonitoredTrainingSession` and `SingularMonitoredSession`.","user":{"login":"darrengarvey","id":260360,"avatar_url":"https://avatars0.githubusercontent.com/u/260360?v=4","gravatar_id":"","url":"https://api.github.com/users/darrengarvey","html_url":"https://github.com/darrengarvey","followers_url":"https://api.github.com/users/darrengarvey/followers","following_url":"https://api.github.com/users/darrengarvey/following{/other_user}","gists_url":"https://api.github.com/users/darrengarvey/gists{/gist_id}","starred_url":"https://api.github.com/users/darrengarvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrengarvey/subscriptions","organizations_url":"https://api.github.com/users/darrengarvey/orgs","repos_url":"https://api.github.com/users/darrengarvey/repos","events_url":"https://api.github.com/users/darrengarvey/events{/privacy}","received_events_url":"https://api.github.com/users/darrengarvey/received_events","type":"User","site_admin":false},"body":"Equivalent to `tf.Session.as_default()`, allows refetching the session from elsewhere in code using `tf.get_default_session()`.\r\n\r\nNotes:\r\n- (additive) public API change.\r\n- If there is a better way to get the current session when using these `tf.Session` wrappers, this may be unnecessary. I just couldn't find it.\r\n","created_at":"2017-07-23T15:26:16Z","updated_at":"2017-07-24T22:43:33Z","closed_at":"2017-07-24T22:43:33Z","merged_at":null,"merge_commit_sha":"7ea44a080c0bedb854476947f6d0166a62606200","assignee":{"login":"ispirmustafa","id":19293677,"avatar_url":"https://avatars1.githubusercontent.com/u/19293677?v=4","gravatar_id":"","url":"https://api.github.com/users/ispirmustafa","html_url":"https://github.com/ispirmustafa","followers_url":"https://api.github.com/users/ispirmustafa/followers","following_url":"https://api.github.com/users/ispirmustafa/following{/other_user}","gists_url":"https://api.github.com/users/ispirmustafa/gists{/gist_id}","starred_url":"https://api.github.com/users/ispirmustafa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ispirmustafa/subscriptions","organizations_url":"https://api.github.com/users/ispirmustafa/orgs","repos_url":"https://api.github.com/users/ispirmustafa/repos","events_url":"https://api.github.com/users/ispirmustafa/events{/privacy}","received_events_url":"https://api.github.com/users/ispirmustafa/received_events","type":"User","site_admin":false},"assignees":[{"login":"ispirmustafa","id":19293677,"avatar_url":"https://avatars1.githubusercontent.com/u/19293677?v=4","gravatar_id":"","url":"https://api.github.com/users/ispirmustafa","html_url":"https://github.com/ispirmustafa","followers_url":"https://api.github.com/users/ispirmustafa/followers","following_url":"https://api.github.com/users/ispirmustafa/following{/other_user}","gists_url":"https://api.github.com/users/ispirmustafa/gists{/gist_id}","starred_url":"https://api.github.com/users/ispirmustafa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ispirmustafa/subscriptions","organizations_url":"https://api.github.com/users/ispirmustafa/orgs","repos_url":"https://api.github.com/users/ispirmustafa/repos","events_url":"https://api.github.com/users/ispirmustafa/events{/privacy}","received_events_url":"https://api.github.com/users/ispirmustafa/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"ispirmustafa","id":19293677,"avatar_url":"https://avatars1.githubusercontent.com/u/19293677?v=4","gravatar_id":"","url":"https://api.github.com/users/ispirmustafa","html_url":"https://github.com/ispirmustafa","followers_url":"https://api.github.com/users/ispirmustafa/followers","following_url":"https://api.github.com/users/ispirmustafa/following{/other_user}","gists_url":"https://api.github.com/users/ispirmustafa/gists{/gist_id}","starred_url":"https://api.github.com/users/ispirmustafa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ispirmustafa/subscriptions","organizations_url":"https://api.github.com/users/ispirmustafa/orgs","repos_url":"https://api.github.com/users/ispirmustafa/repos","events_url":"https://api.github.com/users/ispirmustafa/events{/privacy}","received_events_url":"https://api.github.com/users/ispirmustafa/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/11694/commits","review_comments_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/11694/comments","review_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/11694/comments","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/46aca6de80e4f52202cbafbda192115db265f296","head":{"label":"darrengarvey:MonitoredSession-as-default","ref":"MonitoredSession-as-default","sha":"46aca6de80e4f52202cbafbda192115db265f296","user":{"login":"darrengarvey","id":260360,"avatar_url":"https://avatars0.githubusercontent.com/u/260360?v=4","gravatar_id":"","url":"https://api.github.com/users/darrengarvey","html_url":"https://github.com/darrengarvey","followers_url":"https://api.github.com/users/darrengarvey/followers","following_url":"https://api.github.com/users/darrengarvey/following{/other_user}","gists_url":"https://api.github.com/users/darrengarvey/gists{/gist_id}","starred_url":"https://api.github.com/users/darrengarvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrengarvey/subscriptions","organizations_url":"https://api.github.com/users/darrengarvey/orgs","repos_url":"https://api.github.com/users/darrengarvey/repos","events_url":"https://api.github.com/users/darrengarvey/events{/privacy}","received_events_url":"https://api.github.com/users/darrengarvey/received_events","type":"User","site_admin":false},"repo":{"id":54754674,"name":"tensorflow","full_name":"darrengarvey/tensorflow","owner":{"login":"darrengarvey","id":260360,"avatar_url":"https://avatars0.githubusercontent.com/u/260360?v=4","gravatar_id":"","url":"https://api.github.com/users/darrengarvey","html_url":"https://github.com/darrengarvey","followers_url":"https://api.github.com/users/darrengarvey/followers","following_url":"https://api.github.com/users/darrengarvey/following{/other_user}","gists_url":"https://api.github.com/users/darrengarvey/gists{/gist_id}","starred_url":"https://api.github.com/users/darrengarvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrengarvey/subscriptions","organizations_url":"https://api.github.com/users/darrengarvey/orgs","repos_url":"https://api.github.com/users/darrengarvey/repos","events_url":"https://api.github.com/users/darrengarvey/events{/privacy}","received_events_url":"https://api.github.com/users/darrengarvey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/darrengarvey/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":true,"url":"https://api.github.com/repos/darrengarvey/tensorflow","forks_url":"https://api.github.com/repos/darrengarvey/tensorflow/forks","keys_url":"https://api.github.com/repos/darrengarvey/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/darrengarvey/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/darrengarvey/tensorflow/teams","hooks_url":"https://api.github.com/repos/darrengarvey/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/darrengarvey/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/darrengarvey/tensorflow/events","assignees_url":"https://api.github.com/repos/darrengarvey/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/darrengarvey/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/darrengarvey/tensorflow/tags","blobs_url":"https://api.github.com/repos/darrengarvey/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/darrengarvey/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/darrengarvey/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/darrengarvey/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/darrengarvey/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/darrengarvey/tensorflow/languages","stargazers_url":"https://api.github.com/repos/darrengarvey/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/darrengarvey/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/darrengarvey/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/darrengarvey/tensorflow/subscription","commits_url":"https://api.github.com/repos/darrengarvey/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/darrengarvey/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/darrengarvey/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/darrengarvey/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/darrengarvey/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/darrengarvey/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/darrengarvey/tensorflow/merges","archive_url":"https://api.github.com/repos/darrengarvey/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/darrengarvey/tensorflow/downloads","issues_url":"https://api.github.com/repos/darrengarvey/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/darrengarvey/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/darrengarvey/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/darrengarvey/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/darrengarvey/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/darrengarvey/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/darrengarvey/tensorflow/deployments","created_at":"2016-03-26T00:19:13Z","updated_at":"2016-03-26T00:19:19Z","pushed_at":"2017-07-24T19:11:35Z","git_url":"git://github.com/darrengarvey/tensorflow.git","ssh_url":"git@github.com:darrengarvey/tensorflow.git","clone_url":"https://github.com/darrengarvey/tensorflow.git","svn_url":"https://github.com/darrengarvey/tensorflow","homepage":"http://tensorflow.org","size":115095,"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":"eaa7a8ed93ccac595eab412dc7e021202c155f5d","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-07-24T22:38:31Z","pushed_at":"2017-07-24T22:43:31Z","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":115995,"stargazers_count":64540,"watchers_count":64540,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":31470,"mirror_url":null,"open_issues_count":880,"forks":31470,"open_issues":880,"watchers":64540,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/11694"},"html":{"href":"https://github.com/tensorflow/tensorflow/pull/11694"},"issue":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/11694"},"comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/11694/comments"},"review_comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/11694/comments"},"review_comment":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/11694/commits"},"statuses":{"href":"https://api.github.com/repos/tensorflow/tensorflow/statuses/46aca6de80e4f52202cbafbda192115db265f296"}},"merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":31,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"vrv"}}