{"action":"created","comment":{"url":"https://api.github.com/repos/xitu/tensorflow-docs/pulls/comments/225671069","pull_request_review_id":165314224,"id":225671069,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTY3MTA2OQ==","diff_hunk":"@@ -457,17 +456,17 @@ model.compile(optimizer=tf.train.RMSPropOptimizer(0.001),\n estimator = keras.estimator.model_to_estimator(model)\n ```\n \n-Note: Enable [eager execution](./eager.md) for debugging [Estimator input functions](./premade_estimators.md#create_input_functions) and inspecting data.\n+注意： 开启 [eager execution](./eager.md) 可以调试 [估计器输入函数](./premade_estimators.md#create_input_functions) 和 观察数据。\n \n-### Multiple GPUs\n+### GPU 集群\n \n-`tf.keras` models can run on multiple GPUs using `tf.contrib.distribute.DistributionStrategy`. This API provides distributed training on multiple GPUs with almost no changes to existing code.\n+可以使用 `tf.contrib.distribute.DistributionStrategy` 在多个GPU上运行。 此接口在多个GPU上提供分布式训练，几乎不需要对现有代码进行任何更改。\n \n-Currently, `tf.contrib.distribute.MirroredStrategy` is the only supported distribution strategy. `MirroredStrategy` does in-graph replication with synchronous training using all-reduce on a single machine. To use `DistributionStrategy` with Keras, convert the `tf.keras.Model` to a `tf.estimator.Estimator` with `tf.keras.estimator.model_to_estimator`, then train the estimator\n+目前，`tf.contrib.distribute.MirroredStrategy` 是唯一受支持的分发策略。 `MirroredStrategy` 使用 all-reduce 在一台机器上进行图模型内部的复制与同步。 要使用 Keras 的 `DistributionStrategy`，将 `tf.keras.Model` 转换为`tf.estimator.Estimator` 与 `tf.keras.estimator.model_to_estimator`，然后训练估算器。","path":"guide/keras.md","position":522,"original_position":522,"commit_id":"a282dc6bfb4a2a4a0ed999c1c377cadfcc5a90c6","original_commit_id":"a282dc6bfb4a2a4a0ed999c1c377cadfcc5a90c6","user":{"login":"lsvih","id":5164225,"node_id":"MDQ6VXNlcjUxNjQyMjU=","avatar_url":"https://avatars1.githubusercontent.com/u/5164225?v=4","gravatar_id":"","url":"https://api.github.com/users/lsvih","html_url":"https://github.com/lsvih","followers_url":"https://api.github.com/users/lsvih/followers","following_url":"https://api.github.com/users/lsvih/following{/other_user}","gists_url":"https://api.github.com/users/lsvih/gists{/gist_id}","starred_url":"https://api.github.com/users/lsvih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsvih/subscriptions","organizations_url":"https://api.github.com/users/lsvih/orgs","repos_url":"https://api.github.com/users/lsvih/repos","events_url":"https://api.github.com/users/lsvih/events{/privacy}","received_events_url":"https://api.github.com/users/lsvih/received_events","type":"User","site_admin":false},"body":"句号后空格多了","created_at":"2018-10-16T19:06:28Z","updated_at":"2018-10-16T19:07:13Z","html_url":"https://github.com/xitu/tensorflow-docs/pull/101#discussion_r225671069","pull_request_url":"https://api.github.com/repos/xitu/tensorflow-docs/pulls/101","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/xitu/tensorflow-docs/pulls/comments/225671069"},"html":{"href":"https://github.com/xitu/tensorflow-docs/pull/101#discussion_r225671069"},"pull_request":{"href":"https://api.github.com/repos/xitu/tensorflow-docs/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/xitu/tensorflow-docs/pulls/101","id":222522396,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNTIyMzk2","html_url":"https://github.com/xitu/tensorflow-docs/pull/101","diff_url":"https://github.com/xitu/tensorflow-docs/pull/101.diff","patch_url":"https://github.com/xitu/tensorflow-docs/pull/101.patch","issue_url":"https://api.github.com/repos/xitu/tensorflow-docs/issues/101","number":101,"state":"open","locked":false,"title":"Translation/guide/keras.md","user":{"login":"zhusimaji","id":11766023,"node_id":"MDQ6VXNlcjExNzY2MDIz","avatar_url":"https://avatars0.githubusercontent.com/u/11766023?v=4","gravatar_id":"","url":"https://api.github.com/users/zhusimaji","html_url":"https://github.com/zhusimaji","followers_url":"https://api.github.com/users/zhusimaji/followers","following_url":"https://api.github.com/users/zhusimaji/following{/other_user}","gists_url":"https://api.github.com/users/zhusimaji/gists{/gist_id}","starred_url":"https://api.github.com/users/zhusimaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhusimaji/subscriptions","organizations_url":"https://api.github.com/users/zhusimaji/orgs","repos_url":"https://api.github.com/users/zhusimaji/repos","events_url":"https://api.github.com/users/zhusimaji/events{/privacy}","received_events_url":"https://api.github.com/users/zhusimaji/received_events","type":"User","site_admin":false},"body":"#93 ","created_at":"2018-10-12T16:33:48Z","updated_at":"2018-10-16T19:07:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e221415cd3dfb81073657620ce54a577882e8e6f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":860218693,"node_id":"MDU6TGFiZWw4NjAyMTg2OTM=","url":"https://api.github.com/repos/xitu/tensorflow-docs/labels/%E6%A0%A1%E5%AF%B9%E8%AE%A4%E9%A2%86","name":"校对认领","color":"d876e3","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/xitu/tensorflow-docs/pulls/101/commits","review_comments_url":"https://api.github.com/repos/xitu/tensorflow-docs/pulls/101/comments","review_comment_url":"https://api.github.com/repos/xitu/tensorflow-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xitu/tensorflow-docs/issues/101/comments","statuses_url":"https://api.github.com/repos/xitu/tensorflow-docs/statuses/a282dc6bfb4a2a4a0ed999c1c377cadfcc5a90c6","head":{"label":"zhusimaji:translation/guide/keras.md","ref":"translation/guide/keras.md","sha":"a282dc6bfb4a2a4a0ed999c1c377cadfcc5a90c6","user":{"login":"zhusimaji","id":11766023,"node_id":"MDQ6VXNlcjExNzY2MDIz","avatar_url":"https://avatars0.githubusercontent.com/u/11766023?v=4","gravatar_id":"","url":"https://api.github.com/users/zhusimaji","html_url":"https://github.com/zhusimaji","followers_url":"https://api.github.com/users/zhusimaji/followers","following_url":"https://api.github.com/users/zhusimaji/following{/other_user}","gists_url":"https://api.github.com/users/zhusimaji/gists{/gist_id}","starred_url":"https://api.github.com/users/zhusimaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhusimaji/subscriptions","organizations_url":"https://api.github.com/users/zhusimaji/orgs","repos_url":"https://api.github.com/users/zhusimaji/repos","events_url":"https://api.github.com/users/zhusimaji/events{/privacy}","received_events_url":"https://api.github.com/users/zhusimaji/received_events","type":"User","site_admin":false},"repo":{"id":152264628,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIyNjQ2Mjg=","name":"tensorflow-docs","full_name":"zhusimaji/tensorflow-docs","private":false,"owner":{"login":"zhusimaji","id":11766023,"node_id":"MDQ6VXNlcjExNzY2MDIz","avatar_url":"https://avatars0.githubusercontent.com/u/11766023?v=4","gravatar_id":"","url":"https://api.github.com/users/zhusimaji","html_url":"https://github.com/zhusimaji","followers_url":"https://api.github.com/users/zhusimaji/followers","following_url":"https://api.github.com/users/zhusimaji/following{/other_user}","gists_url":"https://api.github.com/users/zhusimaji/gists{/gist_id}","starred_url":"https://api.github.com/users/zhusimaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhusimaji/subscriptions","organizations_url":"https://api.github.com/users/zhusimaji/orgs","repos_url":"https://api.github.com/users/zhusimaji/repos","events_url":"https://api.github.com/users/zhusimaji/events{/privacy}","received_events_url":"https://api.github.com/users/zhusimaji/received_events","type":"User","site_admin":false},"html_url":"https://github.com/zhusimaji/tensorflow-docs","description":"TensorFlow 最新官方文档中文版 V1.10","fork":true,"url":"https://api.github.com/repos/zhusimaji/tensorflow-docs","forks_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/forks","keys_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/teams","hooks_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/hooks","issue_events_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/issues/events{/number}","events_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/events","assignees_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/assignees{/user}","branches_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/branches{/branch}","tags_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/tags","blobs_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/languages","stargazers_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/stargazers","contributors_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/contributors","subscribers_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/subscribers","subscription_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/subscription","commits_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/contents/{+path}","compare_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/merges","archive_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/downloads","issues_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/issues{/number}","pulls_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/labels{/name}","releases_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/releases{/id}","deployments_url":"https://api.github.com/repos/zhusimaji/tensorflow-docs/deployments","created_at":"2018-10-09T14:22:16Z","updated_at":"2018-10-09T14:22:19Z","pushed_at":"2018-10-16T14:33:29Z","git_url":"git://github.com/zhusimaji/tensorflow-docs.git","ssh_url":"git@github.com:zhusimaji/tensorflow-docs.git","clone_url":"https://github.com/zhusimaji/tensorflow-docs.git","svn_url":"https://github.com/zhusimaji/tensorflow-docs","homepage":"https://tensorflow.juejin.im","size":4439,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"zh-hans"}},"base":{"label":"xitu:zh-hans","ref":"zh-hans","sha":"92dc2d68dbcc61964ee9b9c0ced6d6205827fdd9","user":{"login":"xitu","id":10482599,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNDgyNTk5","avatar_url":"https://avatars2.githubusercontent.com/u/10482599?v=4","gravatar_id":"","url":"https://api.github.com/users/xitu","html_url":"https://github.com/xitu","followers_url":"https://api.github.com/users/xitu/followers","following_url":"https://api.github.com/users/xitu/following{/other_user}","gists_url":"https://api.github.com/users/xitu/gists{/gist_id}","starred_url":"https://api.github.com/users/xitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xitu/subscriptions","organizations_url":"https://api.github.com/users/xitu/orgs","repos_url":"https://api.github.com/users/xitu/repos","events_url":"https://api.github.com/users/xitu/events{/privacy}","received_events_url":"https://api.github.com/users/xitu/received_events","type":"Organization","site_admin":false},"repo":{"id":124370024,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQzNzAwMjQ=","name":"tensorflow-docs","full_name":"xitu/tensorflow-docs","private":false,"owner":{"login":"xitu","id":10482599,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNDgyNTk5","avatar_url":"https://avatars2.githubusercontent.com/u/10482599?v=4","gravatar_id":"","url":"https://api.github.com/users/xitu","html_url":"https://github.com/xitu","followers_url":"https://api.github.com/users/xitu/followers","following_url":"https://api.github.com/users/xitu/following{/other_user}","gists_url":"https://api.github.com/users/xitu/gists{/gist_id}","starred_url":"https://api.github.com/users/xitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xitu/subscriptions","organizations_url":"https://api.github.com/users/xitu/orgs","repos_url":"https://api.github.com/users/xitu/repos","events_url":"https://api.github.com/users/xitu/events{/privacy}","received_events_url":"https://api.github.com/users/xitu/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/xitu/tensorflow-docs","description":"TensorFlow 最新官方文档中文版 V1.10","fork":false,"url":"https://api.github.com/repos/xitu/tensorflow-docs","forks_url":"https://api.github.com/repos/xitu/tensorflow-docs/forks","keys_url":"https://api.github.com/repos/xitu/tensorflow-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xitu/tensorflow-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xitu/tensorflow-docs/teams","hooks_url":"https://api.github.com/repos/xitu/tensorflow-docs/hooks","issue_events_url":"https://api.github.com/repos/xitu/tensorflow-docs/issues/events{/number}","events_url":"https://api.github.com/repos/xitu/tensorflow-docs/events","assignees_url":"https://api.github.com/repos/xitu/tensorflow-docs/assignees{/user}","branches_url":"https://api.github.com/repos/xitu/tensorflow-docs/branches{/branch}","tags_url":"https://api.github.com/repos/xitu/tensorflow-docs/tags","blobs_url":"https://api.github.com/repos/xitu/tensorflow-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xitu/tensorflow-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xitu/tensorflow-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/xitu/tensorflow-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xitu/tensorflow-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/xitu/tensorflow-docs/languages","stargazers_url":"https://api.github.com/repos/xitu/tensorflow-docs/stargazers","contributors_url":"https://api.github.com/repos/xitu/tensorflow-docs/contributors","subscribers_url":"https://api.github.com/repos/xitu/tensorflow-docs/subscribers","subscription_url":"https://api.github.com/repos/xitu/tensorflow-docs/subscription","commits_url":"https://api.github.com/repos/xitu/tensorflow-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/xitu/tensorflow-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/xitu/tensorflow-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/xitu/tensorflow-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/xitu/tensorflow-docs/contents/{+path}","compare_url":"https://api.github.com/repos/xitu/tensorflow-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xitu/tensorflow-docs/merges","archive_url":"https://api.github.com/repos/xitu/tensorflow-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xitu/tensorflow-docs/downloads","issues_url":"https://api.github.com/repos/xitu/tensorflow-docs/issues{/number}","pulls_url":"https://api.github.com/repos/xitu/tensorflow-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/xitu/tensorflow-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/xitu/tensorflow-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xitu/tensorflow-docs/labels{/name}","releases_url":"https://api.github.com/repos/xitu/tensorflow-docs/releases{/id}","deployments_url":"https://api.github.com/repos/xitu/tensorflow-docs/deployments","created_at":"2018-03-08T09:39:54Z","updated_at":"2018-10-16T12:49:44Z","pushed_at":"2018-10-16T14:34:27Z","git_url":"git://github.com/xitu/tensorflow-docs.git","ssh_url":"git@github.com:xitu/tensorflow-docs.git","clone_url":"https://github.com/xitu/tensorflow-docs.git","svn_url":"https://github.com/xitu/tensorflow-docs","homepage":"https://tensorflow.juejin.im","size":4437,"stargazers_count":3047,"watchers_count":3047,"language":"Jupyter Notebook","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":358,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":358,"open_issues":10,"watchers":3047,"default_branch":"zh-hans"}},"_links":{"self":{"href":"https://api.github.com/repos/xitu/tensorflow-docs/pulls/101"},"html":{"href":"https://github.com/xitu/tensorflow-docs/pull/101"},"issue":{"href":"https://api.github.com/repos/xitu/tensorflow-docs/issues/101"},"comments":{"href":"https://api.github.com/repos/xitu/tensorflow-docs/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/xitu/tensorflow-docs/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/xitu/tensorflow-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xitu/tensorflow-docs/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/xitu/tensorflow-docs/statuses/a282dc6bfb4a2a4a0ed999c1c377cadfcc5a90c6"}},"author_association":"NONE"}}
{"actor":{"display_login":"lsvih"}}