{"action":"closed","issue":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/5876","repository_url":"https://api.github.com/repos/PaddlePaddle/Paddle","labels_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/5876/labels{/name}","comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/5876/comments","events_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/5876/events","html_url":"https://github.com/PaddlePaddle/Paddle/issues/5876","id":276278128,"number":5876,"title":"Unify the fluid imports into `paddle.v2.fluid`","user":{"login":"reyoung","id":728699,"avatar_url":"https://avatars2.githubusercontent.com/u/728699?v=4","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},"labels":[{"id":424908488,"url":"https://api.github.com/repos/PaddlePaddle/Paddle/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"reyoung","id":728699,"avatar_url":"https://avatars2.githubusercontent.com/u/728699?v=4","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},"assignees":[{"login":"reyoung","id":728699,"avatar_url":"https://avatars2.githubusercontent.com/u/728699?v=4","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}],"milestone":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/milestones/6","html_url":"https://github.com/PaddlePaddle/Paddle/milestone/6","labels_url":"https://api.github.com/repos/PaddlePaddle/Paddle/milestones/6/labels","id":2932667,"number":6,"title":"Release 0.11.0","description":"","creator":{"login":"reyoung","id":728699,"avatar_url":"https://avatars2.githubusercontent.com/u/728699?v=4","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},"open_issues":8,"closed_issues":9,"state":"open","created_at":"2017-11-23T06:33:30Z","updated_at":"2017-11-27T05:45:35Z","due_on":"2017-12-08T08:00:00Z","closed_at":null},"comments":0,"created_at":"2017-11-23T06:47:35Z","updated_at":"2017-11-27T05:45:35Z","closed_at":"2017-11-27T05:45:35Z","author_association":"CONTRIBUTOR","body":"The current `imports` of fluid is quite noisy. We could simplify them by adding imports in `fluid/__init__.py`\r\nhttps://github.com/PaddlePaddle/Paddle/blob/e800c0d3f1b53c839ecc1f4ec214ea572a45ed93/python/paddle/v2/fluid/tests/book/test_fit_a_line.py#L2-L8\r\n\r\nThe user API could be\r\n\r\n```python\r\nimport paddle.v2.fluid as fluid\r\n\r\ndata = fluid.layers.data(...)\r\nloss = fluid.layers.fc(data, ...)\r\nadam = fluid.optimizers.Adam()\r\nadam.minimize(loss)\r\nexe = fluid.Executor(...)\r\nexe.run(feed={...}, fetch=[...])\r\n```"}}
{"actor":{"display_login":"reyoung"}}