{"action":"created","comment":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments/89317064","pull_request_review_id":9862509,"id":89317064,"diff_hunk":"@@ -30,162 +34,129 @@ PaddlePaddle进程内嵌了一个 :code:`python` 解释器。 这个 :code:`pyth\n \t\tpy -> data_provider [dir=\"back\"];\n \t}\n \n-所以，PaddlePaddle单机训练进程，:code:`paddle train` , 对于用户的主要接口语言为 python。 主要需要用户配置的两个文件为 :code:`DataProvider` 和训练文件 :code:`TrainerConfig` 。\n-\n-\n DataProvider\n ============\n \n-DataProvider是 :code:`paddle train` 的数据提供器。 它负责将用户的原始数据转换成 PaddlePaddle 可以识别的数据类型。每当 PaddlePaddle 需要新的数据训练时，都会调用 DataProvider 返回数据。 当所有数据读取完一轮后，DataProvider 便返回空数据通知 PaddlePaddle。PaddlePaddle负责在下一轮训练开始前，将DataProvider重置。\n-\n-需要注意的是，DataProvider在PaddlePaddle中是被训练逻辑调用的关系， 而不是新的数据驱动训练。并且所有的 :code:`shuffle` , 和一些随机化的噪声添加，都应该在 DataProvider 阶段完成。","path":"doc_cn/concepts/use_concepts.rst","position":36,"original_position":38,"commit_id":"2a21d8b39f11cbd6b8e4780fca69bdd424eed8bf","original_commit_id":"6767d0fc5f07ec6ea8598bc300e551e5fa918365","user":{"login":"qingqing01","id":7845005,"avatar_url":"https://avatars.githubusercontent.com/u/7845005?v=3","gravatar_id":"","url":"https://api.github.com/users/qingqing01","html_url":"https://github.com/qingqing01","followers_url":"https://api.github.com/users/qingqing01/followers","following_url":"https://api.github.com/users/qingqing01/following{/other_user}","gists_url":"https://api.github.com/users/qingqing01/gists{/gist_id}","starred_url":"https://api.github.com/users/qingqing01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qingqing01/subscriptions","organizations_url":"https://api.github.com/users/qingqing01/orgs","repos_url":"https://api.github.com/users/qingqing01/repos","events_url":"https://api.github.com/users/qingqing01/events{/privacy}","received_events_url":"https://api.github.com/users/qingqing01/received_events","type":"User","site_admin":false},"body":"没有去掉，DataProvider有两段， 第一段将DataProvider特性，内容已经包含了这两部分。 第二段讲PyData。","created_at":"2016-11-23T13:39:49Z","updated_at":"2016-11-23T13:39:49Z","html_url":"https://github.com/PaddlePaddle/Paddle/pull/532#discussion_r89317064","pull_request_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/532","_links":{"self":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments/89317064"},"html":{"href":"https://github.com/PaddlePaddle/Paddle/pull/532#discussion_r89317064"},"pull_request":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/532"}}},"pull_request":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/532","id":94341215,"html_url":"https://github.com/PaddlePaddle/Paddle/pull/532","diff_url":"https://github.com/PaddlePaddle/Paddle/pull/532.diff","patch_url":"https://github.com/PaddlePaddle/Paddle/pull/532.patch","issue_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/532","number":532,"state":"open","locked":false,"title":"Refine use_concepts.rst","user":{"login":"qingqing01","id":7845005,"avatar_url":"https://avatars.githubusercontent.com/u/7845005?v=3","gravatar_id":"","url":"https://api.github.com/users/qingqing01","html_url":"https://github.com/qingqing01","followers_url":"https://api.github.com/users/qingqing01/followers","following_url":"https://api.github.com/users/qingqing01/following{/other_user}","gists_url":"https://api.github.com/users/qingqing01/gists{/gist_id}","starred_url":"https://api.github.com/users/qingqing01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qingqing01/subscriptions","organizations_url":"https://api.github.com/users/qingqing01/orgs","repos_url":"https://api.github.com/users/qingqing01/repos","events_url":"https://api.github.com/users/qingqing01/events{/privacy}","received_events_url":"https://api.github.com/users/qingqing01/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-18T10:55:48Z","updated_at":"2016-11-23T13:39:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1615bdfbdd37c50b589484e49d05c3b73df0168","assignee":{"login":"wangkuiyi","id":1548775,"avatar_url":"https://avatars.githubusercontent.com/u/1548775?v=3","gravatar_id":"","url":"https://api.github.com/users/wangkuiyi","html_url":"https://github.com/wangkuiyi","followers_url":"https://api.github.com/users/wangkuiyi/followers","following_url":"https://api.github.com/users/wangkuiyi/following{/other_user}","gists_url":"https://api.github.com/users/wangkuiyi/gists{/gist_id}","starred_url":"https://api.github.com/users/wangkuiyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangkuiyi/subscriptions","organizations_url":"https://api.github.com/users/wangkuiyi/orgs","repos_url":"https://api.github.com/users/wangkuiyi/repos","events_url":"https://api.github.com/users/wangkuiyi/events{/privacy}","received_events_url":"https://api.github.com/users/wangkuiyi/received_events","type":"User","site_admin":false},"assignees":[{"login":"reyoung","id":728699,"avatar_url":"https://avatars.githubusercontent.com/u/728699?v=3","gravatar_id":"","url":"https://api.github.com/users/reyoung","html_url":"https://github.com/reyoung","followers_url":"https://api.github.com/users/reyoung/followers","following_url":"https://api.github.com/users/reyoung/following{/other_user}","gists_url":"https://api.github.com/users/reyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/reyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reyoung/subscriptions","organizations_url":"https://api.github.com/users/reyoung/orgs","repos_url":"https://api.github.com/users/reyoung/repos","events_url":"https://api.github.com/users/reyoung/events{/privacy}","received_events_url":"https://api.github.com/users/reyoung/received_events","type":"User","site_admin":false},{"login":"wangkuiyi","id":1548775,"avatar_url":"https://avatars.githubusercontent.com/u/1548775?v=3","gravatar_id":"","url":"https://api.github.com/users/wangkuiyi","html_url":"https://github.com/wangkuiyi","followers_url":"https://api.github.com/users/wangkuiyi/followers","following_url":"https://api.github.com/users/wangkuiyi/following{/other_user}","gists_url":"https://api.github.com/users/wangkuiyi/gists{/gist_id}","starred_url":"https://api.github.com/users/wangkuiyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangkuiyi/subscriptions","organizations_url":"https://api.github.com/users/wangkuiyi/orgs","repos_url":"https://api.github.com/users/wangkuiyi/repos","events_url":"https://api.github.com/users/wangkuiyi/events{/privacy}","received_events_url":"https://api.github.com/users/wangkuiyi/received_events","type":"User","site_admin":false},{"login":"hedaoyuan","id":21339431,"avatar_url":"https://avatars.githubusercontent.com/u/21339431?v=3","gravatar_id":"","url":"https://api.github.com/users/hedaoyuan","html_url":"https://github.com/hedaoyuan","followers_url":"https://api.github.com/users/hedaoyuan/followers","following_url":"https://api.github.com/users/hedaoyuan/following{/other_user}","gists_url":"https://api.github.com/users/hedaoyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/hedaoyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hedaoyuan/subscriptions","organizations_url":"https://api.github.com/users/hedaoyuan/orgs","repos_url":"https://api.github.com/users/hedaoyuan/repos","events_url":"https://api.github.com/users/hedaoyuan/events{/privacy}","received_events_url":"https://api.github.com/users/hedaoyuan/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/532/commits","review_comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/532/comments","review_comment_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/532/comments","statuses_url":"https://api.github.com/repos/PaddlePaddle/Paddle/statuses/2a21d8b39f11cbd6b8e4780fca69bdd424eed8bf","head":{"label":"qingqing01:cn_doc","ref":"cn_doc","sha":"2a21d8b39f11cbd6b8e4780fca69bdd424eed8bf","user":{"login":"qingqing01","id":7845005,"avatar_url":"https://avatars.githubusercontent.com/u/7845005?v=3","gravatar_id":"","url":"https://api.github.com/users/qingqing01","html_url":"https://github.com/qingqing01","followers_url":"https://api.github.com/users/qingqing01/followers","following_url":"https://api.github.com/users/qingqing01/following{/other_user}","gists_url":"https://api.github.com/users/qingqing01/gists{/gist_id}","starred_url":"https://api.github.com/users/qingqing01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qingqing01/subscriptions","organizations_url":"https://api.github.com/users/qingqing01/orgs","repos_url":"https://api.github.com/users/qingqing01/repos","events_url":"https://api.github.com/users/qingqing01/events{/privacy}","received_events_url":"https://api.github.com/users/qingqing01/received_events","type":"User","site_admin":false},"repo":{"id":66909112,"name":"Paddle","full_name":"qingqing01/Paddle","owner":{"login":"qingqing01","id":7845005,"avatar_url":"https://avatars.githubusercontent.com/u/7845005?v=3","gravatar_id":"","url":"https://api.github.com/users/qingqing01","html_url":"https://github.com/qingqing01","followers_url":"https://api.github.com/users/qingqing01/followers","following_url":"https://api.github.com/users/qingqing01/following{/other_user}","gists_url":"https://api.github.com/users/qingqing01/gists{/gist_id}","starred_url":"https://api.github.com/users/qingqing01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qingqing01/subscriptions","organizations_url":"https://api.github.com/users/qingqing01/orgs","repos_url":"https://api.github.com/users/qingqing01/repos","events_url":"https://api.github.com/users/qingqing01/events{/privacy}","received_events_url":"https://api.github.com/users/qingqing01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qingqing01/Paddle","description":"PArallel Distributed Deep LEarning","fork":true,"url":"https://api.github.com/repos/qingqing01/Paddle","forks_url":"https://api.github.com/repos/qingqing01/Paddle/forks","keys_url":"https://api.github.com/repos/qingqing01/Paddle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qingqing01/Paddle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qingqing01/Paddle/teams","hooks_url":"https://api.github.com/repos/qingqing01/Paddle/hooks","issue_events_url":"https://api.github.com/repos/qingqing01/Paddle/issues/events{/number}","events_url":"https://api.github.com/repos/qingqing01/Paddle/events","assignees_url":"https://api.github.com/repos/qingqing01/Paddle/assignees{/user}","branches_url":"https://api.github.com/repos/qingqing01/Paddle/branches{/branch}","tags_url":"https://api.github.com/repos/qingqing01/Paddle/tags","blobs_url":"https://api.github.com/repos/qingqing01/Paddle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qingqing01/Paddle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qingqing01/Paddle/git/refs{/sha}","trees_url":"https://api.github.com/repos/qingqing01/Paddle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qingqing01/Paddle/statuses/{sha}","languages_url":"https://api.github.com/repos/qingqing01/Paddle/languages","stargazers_url":"https://api.github.com/repos/qingqing01/Paddle/stargazers","contributors_url":"https://api.github.com/repos/qingqing01/Paddle/contributors","subscribers_url":"https://api.github.com/repos/qingqing01/Paddle/subscribers","subscription_url":"https://api.github.com/repos/qingqing01/Paddle/subscription","commits_url":"https://api.github.com/repos/qingqing01/Paddle/commits{/sha}","git_commits_url":"https://api.github.com/repos/qingqing01/Paddle/git/commits{/sha}","comments_url":"https://api.github.com/repos/qingqing01/Paddle/comments{/number}","issue_comment_url":"https://api.github.com/repos/qingqing01/Paddle/issues/comments{/number}","contents_url":"https://api.github.com/repos/qingqing01/Paddle/contents/{+path}","compare_url":"https://api.github.com/repos/qingqing01/Paddle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qingqing01/Paddle/merges","archive_url":"https://api.github.com/repos/qingqing01/Paddle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qingqing01/Paddle/downloads","issues_url":"https://api.github.com/repos/qingqing01/Paddle/issues{/number}","pulls_url":"https://api.github.com/repos/qingqing01/Paddle/pulls{/number}","milestones_url":"https://api.github.com/repos/qingqing01/Paddle/milestones{/number}","notifications_url":"https://api.github.com/repos/qingqing01/Paddle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qingqing01/Paddle/labels{/name}","releases_url":"https://api.github.com/repos/qingqing01/Paddle/releases{/id}","deployments_url":"https://api.github.com/repos/qingqing01/Paddle/deployments","created_at":"2016-08-30T05:21:17Z","updated_at":"2016-08-30T05:21:20Z","pushed_at":"2016-11-23T13:36:54Z","git_url":"git://github.com/qingqing01/Paddle.git","ssh_url":"git@github.com:qingqing01/Paddle.git","clone_url":"https://github.com/qingqing01/Paddle.git","svn_url":"https://github.com/qingqing01/Paddle","homepage":null,"size":6793,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"PaddlePaddle:develop","ref":"develop","sha":"85f0e18460f8d14b172454d6e0814164e210e876","user":{"login":"PaddlePaddle","id":23534030,"avatar_url":"https://avatars.githubusercontent.com/u/23534030?v=3","gravatar_id":"","url":"https://api.github.com/users/PaddlePaddle","html_url":"https://github.com/PaddlePaddle","followers_url":"https://api.github.com/users/PaddlePaddle/followers","following_url":"https://api.github.com/users/PaddlePaddle/following{/other_user}","gists_url":"https://api.github.com/users/PaddlePaddle/gists{/gist_id}","starred_url":"https://api.github.com/users/PaddlePaddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaddlePaddle/subscriptions","organizations_url":"https://api.github.com/users/PaddlePaddle/orgs","repos_url":"https://api.github.com/users/PaddlePaddle/repos","events_url":"https://api.github.com/users/PaddlePaddle/events{/privacy}","received_events_url":"https://api.github.com/users/PaddlePaddle/received_events","type":"Organization","site_admin":false},"repo":{"id":65711522,"name":"Paddle","full_name":"PaddlePaddle/Paddle","owner":{"login":"PaddlePaddle","id":23534030,"avatar_url":"https://avatars.githubusercontent.com/u/23534030?v=3","gravatar_id":"","url":"https://api.github.com/users/PaddlePaddle","html_url":"https://github.com/PaddlePaddle","followers_url":"https://api.github.com/users/PaddlePaddle/followers","following_url":"https://api.github.com/users/PaddlePaddle/following{/other_user}","gists_url":"https://api.github.com/users/PaddlePaddle/gists{/gist_id}","starred_url":"https://api.github.com/users/PaddlePaddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaddlePaddle/subscriptions","organizations_url":"https://api.github.com/users/PaddlePaddle/orgs","repos_url":"https://api.github.com/users/PaddlePaddle/repos","events_url":"https://api.github.com/users/PaddlePaddle/events{/privacy}","received_events_url":"https://api.github.com/users/PaddlePaddle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PaddlePaddle/Paddle","description":"PArallel Distributed Deep LEarning","fork":false,"url":"https://api.github.com/repos/PaddlePaddle/Paddle","forks_url":"https://api.github.com/repos/PaddlePaddle/Paddle/forks","keys_url":"https://api.github.com/repos/PaddlePaddle/Paddle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PaddlePaddle/Paddle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PaddlePaddle/Paddle/teams","hooks_url":"https://api.github.com/repos/PaddlePaddle/Paddle/hooks","issue_events_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/events{/number}","events_url":"https://api.github.com/repos/PaddlePaddle/Paddle/events","assignees_url":"https://api.github.com/repos/PaddlePaddle/Paddle/assignees{/user}","branches_url":"https://api.github.com/repos/PaddlePaddle/Paddle/branches{/branch}","tags_url":"https://api.github.com/repos/PaddlePaddle/Paddle/tags","blobs_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/refs{/sha}","trees_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PaddlePaddle/Paddle/statuses/{sha}","languages_url":"https://api.github.com/repos/PaddlePaddle/Paddle/languages","stargazers_url":"https://api.github.com/repos/PaddlePaddle/Paddle/stargazers","contributors_url":"https://api.github.com/repos/PaddlePaddle/Paddle/contributors","subscribers_url":"https://api.github.com/repos/PaddlePaddle/Paddle/subscribers","subscription_url":"https://api.github.com/repos/PaddlePaddle/Paddle/subscription","commits_url":"https://api.github.com/repos/PaddlePaddle/Paddle/commits{/sha}","git_commits_url":"https://api.github.com/repos/PaddlePaddle/Paddle/git/commits{/sha}","comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/comments{/number}","issue_comment_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/comments{/number}","contents_url":"https://api.github.com/repos/PaddlePaddle/Paddle/contents/{+path}","compare_url":"https://api.github.com/repos/PaddlePaddle/Paddle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PaddlePaddle/Paddle/merges","archive_url":"https://api.github.com/repos/PaddlePaddle/Paddle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PaddlePaddle/Paddle/downloads","issues_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues{/number}","pulls_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls{/number}","milestones_url":"https://api.github.com/repos/PaddlePaddle/Paddle/milestones{/number}","notifications_url":"https://api.github.com/repos/PaddlePaddle/Paddle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PaddlePaddle/Paddle/labels{/name}","releases_url":"https://api.github.com/repos/PaddlePaddle/Paddle/releases{/id}","deployments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/deployments","created_at":"2016-08-15T06:59:08Z","updated_at":"2016-11-23T12:39:30Z","pushed_at":"2016-11-23T13:36:54Z","git_url":"git://github.com/PaddlePaddle/Paddle.git","ssh_url":"git@github.com:PaddlePaddle/Paddle.git","clone_url":"https://github.com/PaddlePaddle/Paddle.git","svn_url":"https://github.com/PaddlePaddle/Paddle","homepage":"http://www.paddlepaddle.org/","size":21292,"stargazers_count":3866,"watchers_count":3866,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":901,"mirror_url":null,"open_issues_count":115,"forks":901,"open_issues":115,"watchers":3866,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/532"},"html":{"href":"https://github.com/PaddlePaddle/Paddle/pull/532"},"issue":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/532"},"comments":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/532/comments"},"review_comments":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/532/comments"},"review_comment":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/532/commits"},"statuses":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/statuses/2a21d8b39f11cbd6b8e4780fca69bdd424eed8bf"}}}}
{"actor":{"display_login":"qingqing01"}}