{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/10675","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/10675/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/10675/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/10675/events","html_url":"https://github.com/tensorflow/tensorflow/issues/10675","id":235516371,"node_id":"MDU6SXNzdWUyMzU1MTYzNzE=","number":10675,"title":"Inner tf.device inherits device index when using wildcard index","user":{"login":"gaohuazuo","id":10446514,"node_id":"MDQ6VXNlcjEwNDQ2NTE0","avatar_url":"https://avatars0.githubusercontent.com/u/10446514?v=4","gravatar_id":"","url":"https://api.github.com/users/gaohuazuo","html_url":"https://github.com/gaohuazuo","followers_url":"https://api.github.com/users/gaohuazuo/followers","following_url":"https://api.github.com/users/gaohuazuo/following{/other_user}","gists_url":"https://api.github.com/users/gaohuazuo/gists{/gist_id}","starred_url":"https://api.github.com/users/gaohuazuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaohuazuo/subscriptions","organizations_url":"https://api.github.com/users/gaohuazuo/orgs","repos_url":"https://api.github.com/users/gaohuazuo/repos","events_url":"https://api.github.com/users/gaohuazuo/events{/privacy}","received_events_url":"https://api.github.com/users/gaohuazuo/received_events","type":"User","site_admin":false},"labels":[{"id":473172988,"node_id":"MDU6TGFiZWw0NzMxNzI5ODg=","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/type:bug/performance","name":"type:bug/performance","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"asimshankar","id":16018,"node_id":"MDQ6VXNlcjE2MDE4","avatar_url":"https://avatars2.githubusercontent.com/u/16018?v=4","gravatar_id":"","url":"https://api.github.com/users/asimshankar","html_url":"https://github.com/asimshankar","followers_url":"https://api.github.com/users/asimshankar/followers","following_url":"https://api.github.com/users/asimshankar/following{/other_user}","gists_url":"https://api.github.com/users/asimshankar/gists{/gist_id}","starred_url":"https://api.github.com/users/asimshankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asimshankar/subscriptions","organizations_url":"https://api.github.com/users/asimshankar/orgs","repos_url":"https://api.github.com/users/asimshankar/repos","events_url":"https://api.github.com/users/asimshankar/events{/privacy}","received_events_url":"https://api.github.com/users/asimshankar/received_events","type":"User","site_admin":false},"assignees":[{"login":"asimshankar","id":16018,"node_id":"MDQ6VXNlcjE2MDE4","avatar_url":"https://avatars2.githubusercontent.com/u/16018?v=4","gravatar_id":"","url":"https://api.github.com/users/asimshankar","html_url":"https://github.com/asimshankar","followers_url":"https://api.github.com/users/asimshankar/followers","following_url":"https://api.github.com/users/asimshankar/following{/other_user}","gists_url":"https://api.github.com/users/asimshankar/gists{/gist_id}","starred_url":"https://api.github.com/users/asimshankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asimshankar/subscriptions","organizations_url":"https://api.github.com/users/asimshankar/orgs","repos_url":"https://api.github.com/users/asimshankar/repos","events_url":"https://api.github.com/users/asimshankar/events{/privacy}","received_events_url":"https://api.github.com/users/asimshankar/received_events","type":"User","site_admin":false}],"milestone":null,"comments":16,"created_at":"2017-06-13T11:03:21Z","updated_at":"2018-07-10T18:56:54Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"TF version: v1.2.0-rc0-735-gf48673b (about one week ago)\r\n\r\n```python\r\nwith tf.device('gpu:7'):\r\n    with tf.device('cpu:*'):\r\n        print(tf.constant(0).device) # /device:CPU:7\r\n```\r\n\r\nworkaround:\r\n\r\n```python\r\nwith tf.device('gpu:7'):\r\n    with tf.device(None), tf.device('cpu:*'):\r\n        print(tf.constant(0).device) # /device:CPU:*\r\n```"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/403930214","html_url":"https://github.com/tensorflow/tensorflow/issues/10675#issuecomment-403930214","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/10675","id":403930214,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzkzMDIxNA==","user":{"login":"tensorflowbutler","id":28546240,"node_id":"MDQ6VXNlcjI4NTQ2MjQw","avatar_url":"https://avatars2.githubusercontent.com/u/28546240?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflowbutler","html_url":"https://github.com/tensorflowbutler","followers_url":"https://api.github.com/users/tensorflowbutler/followers","following_url":"https://api.github.com/users/tensorflowbutler/following{/other_user}","gists_url":"https://api.github.com/users/tensorflowbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflowbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflowbutler/subscriptions","organizations_url":"https://api.github.com/users/tensorflowbutler/orgs","repos_url":"https://api.github.com/users/tensorflowbutler/repos","events_url":"https://api.github.com/users/tensorflowbutler/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflowbutler/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T18:56:54Z","updated_at":"2018-07-10T18:56:54Z","author_association":"MEMBER","body":"Nagging Assignee @asimshankar: It has been 364 days with no activity and this issue has an assignee. Please update the label and/or status accordingly."}}
{"actor":{"display_login":"tensorflowbutler"}}