{"action":"created","comment":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments/149609760","pull_request_review_id":75025697,"id":149609760,"diff_hunk":"@@ -0,0 +1,99 @@\n+/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.\n+\n+   Licensed under the Apache License, Version 2.0 (the \"License\");\n+   you may not use this file except in compliance with the License.\n+   You may obtain a copy of the License at\n+\n+   http://www.apache.org/licenses/LICENSE-2.0\n+\n+   Unless required by applicable law or agreed to in writing, software\n+   distributed under the License is distributed on an \"AS IS\" BASIS,\n+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+   See the License for the specific language governing permissions and\n+   limitations under the License. */\n+\n+#define EIGEN_USE_GPU\n+#include \"paddle/operators/bilinear_tensor_product_op.h\"\n+\n+namespace paddle {\n+namespace operators {\n+\n+template <typename Place, typename T>\n+class BilinearTensorProductCUDAKernel : public framework::OpKernel<T> {\n+ public:\n+  void Compute(const framework::ExecutionContext& ctx) const override {","path":"paddle/operators/bilinear_tensor_product_op.cu","position":null,"original_position":24,"commit_id":"44e1ac3882336284043257c6f57124bd557f71f5","original_commit_id":"f5cb52ca3ebbfc9d0f6f390376e96da8131b145a","user":{"login":"peterzhang2029","id":11489242,"avatar_url":"https://avatars1.githubusercontent.com/u/11489242?v=4","gravatar_id":"","url":"https://api.github.com/users/peterzhang2029","html_url":"https://github.com/peterzhang2029","followers_url":"https://api.github.com/users/peterzhang2029/followers","following_url":"https://api.github.com/users/peterzhang2029/following{/other_user}","gists_url":"https://api.github.com/users/peterzhang2029/gists{/gist_id}","starred_url":"https://api.github.com/users/peterzhang2029/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterzhang2029/subscriptions","organizations_url":"https://api.github.com/users/peterzhang2029/orgs","repos_url":"https://api.github.com/users/peterzhang2029/repos","events_url":"https://api.github.com/users/peterzhang2029/events{/privacy}","received_events_url":"https://api.github.com/users/peterzhang2029/received_events","type":"User","site_admin":false},"body":"已经做了修正，不需要从CPU进行拷贝。","created_at":"2017-11-08T09:09:32Z","updated_at":"2017-11-08T09:10:21Z","html_url":"https://github.com/PaddlePaddle/Paddle/pull/5014#discussion_r149609760","pull_request_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/5014","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments/149609760"},"html":{"href":"https://github.com/PaddlePaddle/Paddle/pull/5014#discussion_r149609760"},"pull_request":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/5014"}},"in_reply_to_id":149549260},"pull_request":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/5014","id":148082500,"html_url":"https://github.com/PaddlePaddle/Paddle/pull/5014","diff_url":"https://github.com/PaddlePaddle/Paddle/pull/5014.diff","patch_url":"https://github.com/PaddlePaddle/Paddle/pull/5014.patch","issue_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/5014","number":5014,"state":"open","locked":false,"title":"Add Bilinear Tensor Product operator.","user":{"login":"peterzhang2029","id":11489242,"avatar_url":"https://avatars1.githubusercontent.com/u/11489242?v=4","gravatar_id":"","url":"https://api.github.com/users/peterzhang2029","html_url":"https://github.com/peterzhang2029","followers_url":"https://api.github.com/users/peterzhang2029/followers","following_url":"https://api.github.com/users/peterzhang2029/following{/other_user}","gists_url":"https://api.github.com/users/peterzhang2029/gists{/gist_id}","starred_url":"https://api.github.com/users/peterzhang2029/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterzhang2029/subscriptions","organizations_url":"https://api.github.com/users/peterzhang2029/orgs","repos_url":"https://api.github.com/users/peterzhang2029/repos","events_url":"https://api.github.com/users/peterzhang2029/events{/privacy}","received_events_url":"https://api.github.com/users/peterzhang2029/received_events","type":"User","site_admin":false},"body":"resolve https://github.com/PaddlePaddle/Paddle/issues/4789","created_at":"2017-10-23T09:39:19Z","updated_at":"2017-11-08T09:10:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa3c27fef952d5376a6523a45e9d3cf6d5164d29","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/5014/commits","review_comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/5014/comments","review_comment_url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/5014/comments","statuses_url":"https://api.github.com/repos/PaddlePaddle/Paddle/statuses/44e1ac3882336284043257c6f57124bd557f71f5","head":{"label":"peterzhang2029:bi_tensor_prod_op","ref":"bi_tensor_prod_op","sha":"44e1ac3882336284043257c6f57124bd557f71f5","user":{"login":"peterzhang2029","id":11489242,"avatar_url":"https://avatars1.githubusercontent.com/u/11489242?v=4","gravatar_id":"","url":"https://api.github.com/users/peterzhang2029","html_url":"https://github.com/peterzhang2029","followers_url":"https://api.github.com/users/peterzhang2029/followers","following_url":"https://api.github.com/users/peterzhang2029/following{/other_user}","gists_url":"https://api.github.com/users/peterzhang2029/gists{/gist_id}","starred_url":"https://api.github.com/users/peterzhang2029/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterzhang2029/subscriptions","organizations_url":"https://api.github.com/users/peterzhang2029/orgs","repos_url":"https://api.github.com/users/peterzhang2029/repos","events_url":"https://api.github.com/users/peterzhang2029/events{/privacy}","received_events_url":"https://api.github.com/users/peterzhang2029/received_events","type":"User","site_admin":false},"repo":{"id":103210488,"name":"Paddle","full_name":"peterzhang2029/Paddle","owner":{"login":"peterzhang2029","id":11489242,"avatar_url":"https://avatars1.githubusercontent.com/u/11489242?v=4","gravatar_id":"","url":"https://api.github.com/users/peterzhang2029","html_url":"https://github.com/peterzhang2029","followers_url":"https://api.github.com/users/peterzhang2029/followers","following_url":"https://api.github.com/users/peterzhang2029/following{/other_user}","gists_url":"https://api.github.com/users/peterzhang2029/gists{/gist_id}","starred_url":"https://api.github.com/users/peterzhang2029/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterzhang2029/subscriptions","organizations_url":"https://api.github.com/users/peterzhang2029/orgs","repos_url":"https://api.github.com/users/peterzhang2029/repos","events_url":"https://api.github.com/users/peterzhang2029/events{/privacy}","received_events_url":"https://api.github.com/users/peterzhang2029/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterzhang2029/Paddle","description":"PArallel Distributed Deep LEarning","fork":true,"url":"https://api.github.com/repos/peterzhang2029/Paddle","forks_url":"https://api.github.com/repos/peterzhang2029/Paddle/forks","keys_url":"https://api.github.com/repos/peterzhang2029/Paddle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterzhang2029/Paddle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterzhang2029/Paddle/teams","hooks_url":"https://api.github.com/repos/peterzhang2029/Paddle/hooks","issue_events_url":"https://api.github.com/repos/peterzhang2029/Paddle/issues/events{/number}","events_url":"https://api.github.com/repos/peterzhang2029/Paddle/events","assignees_url":"https://api.github.com/repos/peterzhang2029/Paddle/assignees{/user}","branches_url":"https://api.github.com/repos/peterzhang2029/Paddle/branches{/branch}","tags_url":"https://api.github.com/repos/peterzhang2029/Paddle/tags","blobs_url":"https://api.github.com/repos/peterzhang2029/Paddle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterzhang2029/Paddle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterzhang2029/Paddle/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterzhang2029/Paddle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterzhang2029/Paddle/statuses/{sha}","languages_url":"https://api.github.com/repos/peterzhang2029/Paddle/languages","stargazers_url":"https://api.github.com/repos/peterzhang2029/Paddle/stargazers","contributors_url":"https://api.github.com/repos/peterzhang2029/Paddle/contributors","subscribers_url":"https://api.github.com/repos/peterzhang2029/Paddle/subscribers","subscription_url":"https://api.github.com/repos/peterzhang2029/Paddle/subscription","commits_url":"https://api.github.com/repos/peterzhang2029/Paddle/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterzhang2029/Paddle/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterzhang2029/Paddle/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterzhang2029/Paddle/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterzhang2029/Paddle/contents/{+path}","compare_url":"https://api.github.com/repos/peterzhang2029/Paddle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterzhang2029/Paddle/merges","archive_url":"https://api.github.com/repos/peterzhang2029/Paddle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterzhang2029/Paddle/downloads","issues_url":"https://api.github.com/repos/peterzhang2029/Paddle/issues{/number}","pulls_url":"https://api.github.com/repos/peterzhang2029/Paddle/pulls{/number}","milestones_url":"https://api.github.com/repos/peterzhang2029/Paddle/milestones{/number}","notifications_url":"https://api.github.com/repos/peterzhang2029/Paddle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterzhang2029/Paddle/labels{/name}","releases_url":"https://api.github.com/repos/peterzhang2029/Paddle/releases{/id}","deployments_url":"https://api.github.com/repos/peterzhang2029/Paddle/deployments","created_at":"2017-09-12T02:12:10Z","updated_at":"2017-09-12T02:12:15Z","pushed_at":"2017-11-08T08:17:07Z","git_url":"git://github.com/peterzhang2029/Paddle.git","ssh_url":"git@github.com:peterzhang2029/Paddle.git","clone_url":"https://github.com/peterzhang2029/Paddle.git","svn_url":"https://github.com/peterzhang2029/Paddle","homepage":"http://www.paddlepaddle.org/","size":55585,"stargazers_count":0,"watchers_count":0,"language":"C++","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,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"PaddlePaddle:develop","ref":"develop","sha":"282e54891a1eb8bfb3e72eb5990cc49453c1f646","user":{"login":"PaddlePaddle","id":23534030,"avatar_url":"https://avatars3.githubusercontent.com/u/23534030?v=4","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://avatars3.githubusercontent.com/u/23534030?v=4","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":"2017-11-08T08:43:57Z","pushed_at":"2017-11-08T09:08:58Z","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":62149,"stargazers_count":5765,"watchers_count":5765,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1530,"mirror_url":null,"archived":false,"open_issues_count":787,"forks":1530,"open_issues":787,"watchers":5765,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/5014"},"html":{"href":"https://github.com/PaddlePaddle/Paddle/pull/5014"},"issue":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/5014"},"comments":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/5014/comments"},"review_comments":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/5014/comments"},"review_comment":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/5014/commits"},"statuses":{"href":"https://api.github.com/repos/PaddlePaddle/Paddle/statuses/44e1ac3882336284043257c6f57124bd557f71f5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"peterzhang2029"}}