{"action":"created","issue":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/2405","repository_url":"https://api.github.com/repos/PaddlePaddle/Paddle","labels_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/2405/labels{/name}","comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/2405/comments","events_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/2405/events","html_url":"https://github.com/PaddlePaddle/Paddle/issues/2405","id":234107594,"number":2405,"title":"prelu api","user":{"login":"lazyjek","id":10387494,"avatar_url":"https://avatars1.githubusercontent.com/u/10387494?v=3","gravatar_id":"","url":"https://api.github.com/users/lazyjek","html_url":"https://github.com/lazyjek","followers_url":"https://api.github.com/users/lazyjek/followers","following_url":"https://api.github.com/users/lazyjek/following{/other_user}","gists_url":"https://api.github.com/users/lazyjek/gists{/gist_id}","starred_url":"https://api.github.com/users/lazyjek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazyjek/subscriptions","organizations_url":"https://api.github.com/users/lazyjek/orgs","repos_url":"https://api.github.com/users/lazyjek/repos","events_url":"https://api.github.com/users/lazyjek/events{/privacy}","received_events_url":"https://api.github.com/users/lazyjek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"lcy-seso","id":5842774,"avatar_url":"https://avatars1.githubusercontent.com/u/5842774?v=3","gravatar_id":"","url":"https://api.github.com/users/lcy-seso","html_url":"https://github.com/lcy-seso","followers_url":"https://api.github.com/users/lcy-seso/followers","following_url":"https://api.github.com/users/lcy-seso/following{/other_user}","gists_url":"https://api.github.com/users/lcy-seso/gists{/gist_id}","starred_url":"https://api.github.com/users/lcy-seso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcy-seso/subscriptions","organizations_url":"https://api.github.com/users/lcy-seso/orgs","repos_url":"https://api.github.com/users/lcy-seso/repos","events_url":"https://api.github.com/users/lcy-seso/events{/privacy}","received_events_url":"https://api.github.com/users/lcy-seso/received_events","type":"User","site_admin":false},"assignees":[{"login":"lcy-seso","id":5842774,"avatar_url":"https://avatars1.githubusercontent.com/u/5842774?v=3","gravatar_id":"","url":"https://api.github.com/users/lcy-seso","html_url":"https://github.com/lcy-seso","followers_url":"https://api.github.com/users/lcy-seso/followers","following_url":"https://api.github.com/users/lcy-seso/following{/other_user}","gists_url":"https://api.github.com/users/lcy-seso/gists{/gist_id}","starred_url":"https://api.github.com/users/lcy-seso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcy-seso/subscriptions","organizations_url":"https://api.github.com/users/lcy-seso/orgs","repos_url":"https://api.github.com/users/lcy-seso/repos","events_url":"https://api.github.com/users/lcy-seso/events{/privacy}","received_events_url":"https://api.github.com/users/lcy-seso/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-06-07T06:43:27Z","updated_at":"2017-06-07T13:11:00Z","closed_at":null,"body":"没有定义prelu的接口，activation func只定义了brelu，softrelu和relu函数，而且好像也没有完整的说明文档。请教一下如果想用prelu的话需要怎么修改接口呢。"},"comment":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/comments/306789965","html_url":"https://github.com/PaddlePaddle/Paddle/issues/2405#issuecomment-306789965","issue_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/2405","id":306789965,"user":{"login":"lcy-seso","id":5842774,"avatar_url":"https://avatars1.githubusercontent.com/u/5842774?v=3","gravatar_id":"","url":"https://api.github.com/users/lcy-seso","html_url":"https://github.com/lcy-seso","followers_url":"https://api.github.com/users/lcy-seso/followers","following_url":"https://api.github.com/users/lcy-seso/following{/other_user}","gists_url":"https://api.github.com/users/lcy-seso/gists{/gist_id}","starred_url":"https://api.github.com/users/lcy-seso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcy-seso/subscriptions","organizations_url":"https://api.github.com/users/lcy-seso/orgs","repos_url":"https://api.github.com/users/lcy-seso/repos","events_url":"https://api.github.com/users/lcy-seso/events{/privacy}","received_events_url":"https://api.github.com/users/lcy-seso/received_events","type":"User","site_admin":false},"created_at":"2017-06-07T13:11:00Z","updated_at":"2017-06-07T13:11:00Z","body":"可以不重新安装，在原来的安装环境中，替换掉修改的这几个python脚本即可。\r\n\r\n使用方法如下：\r\n\r\n```python\r\nimport paddle.v2.data_type as data_type\r\nimport paddle.v2 as paddle\r\n\r\ndata = paddle.layer.data(name='input', type=data_type.dense_vector(64))\r\ny = paddle.layer.prelu(data)\r\n```\r\n由于 `prelu` 有需要学习的参数，在`PaddlePaddle` 是一个 layer。"}}
{"actor":{"display_login":"lcy-seso"}}