{"action":"created","issue":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/3805","repository_url":"https://api.github.com/repos/PaddlePaddle/Paddle","labels_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/3805/labels{/name}","comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/3805/comments","events_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/3805/events","html_url":"https://github.com/PaddlePaddle/Paddle/issues/3805","id":254560545,"number":3805,"title":"How to deal with MultiInput in Python code","user":{"login":"Yancey1989","id":1426912,"avatar_url":"https://avatars2.githubusercontent.com/u/1426912?v=4","gravatar_id":"","url":"https://api.github.com/users/Yancey1989","html_url":"https://github.com/Yancey1989","followers_url":"https://api.github.com/users/Yancey1989/followers","following_url":"https://api.github.com/users/Yancey1989/following{/other_user}","gists_url":"https://api.github.com/users/Yancey1989/gists{/gist_id}","starred_url":"https://api.github.com/users/Yancey1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yancey1989/subscriptions","organizations_url":"https://api.github.com/users/Yancey1989/orgs","repos_url":"https://api.github.com/users/Yancey1989/repos","events_url":"https://api.github.com/users/Yancey1989/events{/privacy}","received_events_url":"https://api.github.com/users/Yancey1989/received_events","type":"User","site_admin":false},"labels":[],"state":"open","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},{"login":"wangkuiyi","id":1548775,"avatar_url":"https://avatars0.githubusercontent.com/u/1548775?v=4","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":"jacquesqiao","id":3048612,"avatar_url":"https://avatars0.githubusercontent.com/u/3048612?v=4","gravatar_id":"","url":"https://api.github.com/users/jacquesqiao","html_url":"https://github.com/jacquesqiao","followers_url":"https://api.github.com/users/jacquesqiao/followers","following_url":"https://api.github.com/users/jacquesqiao/following{/other_user}","gists_url":"https://api.github.com/users/jacquesqiao/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquesqiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquesqiao/subscriptions","organizations_url":"https://api.github.com/users/jacquesqiao/orgs","repos_url":"https://api.github.com/users/jacquesqiao/repos","events_url":"https://api.github.com/users/jacquesqiao/events{/privacy}","received_events_url":"https://api.github.com/users/jacquesqiao/received_events","type":"User","site_admin":false},{"login":"qingqing01","id":7845005,"avatar_url":"https://avatars0.githubusercontent.com/u/7845005?v=4","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},{"login":"QiJune","id":22017000,"avatar_url":"https://avatars0.githubusercontent.com/u/22017000?v=4","gravatar_id":"","url":"https://api.github.com/users/QiJune","html_url":"https://github.com/QiJune","followers_url":"https://api.github.com/users/QiJune/followers","following_url":"https://api.github.com/users/QiJune/following{/other_user}","gists_url":"https://api.github.com/users/QiJune/gists{/gist_id}","starred_url":"https://api.github.com/users/QiJune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QiJune/subscriptions","organizations_url":"https://api.github.com/users/QiJune/orgs","repos_url":"https://api.github.com/users/QiJune/repos","events_url":"https://api.github.com/users/QiJune/events{/privacy}","received_events_url":"https://api.github.com/users/QiJune/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-09-01T07:38:08Z","updated_at":"2017-09-01T09:37:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi, I'm implementing the `Concat` Operator, the input should be an array,  but maybe it does not support `MultiInput` in Python code, here is my error logs:\r\n- Python code\r\n```python\r\n    x0 = np.random.random((3, 4)).astype('float32')\r\n    x1 = np.random.random((4, 4)).astype('float32') \r\n    x2 = np.random.random((5, 4)).astype('float32')  \r\n    self.inputs = {\r\n       'X': np.asarray([x0, x1, x2])\r\n    }\r\n```\r\n- Part of the error logs:\r\n```bash\r\n26: Traceback (most recent call last):\r\n26:   File \"/paddle/python/paddle/v2/framework/tests/op_test_util.py\", line 36, in test_all\r\n26:     var.set(arr, place)\r\n26: TypeError: set(): incompatible function arguments. The following argument types are supported:\r\n26:     1. (self: paddle.v2.framework.core.Tensor, arg0: numpy.ndarray[float32], arg1: paddle::platform::CPUPlace) -> None\r\n26:     2. (self: paddle.v2.framework.core.Tensor, arg0: numpy.ndarray[int32], arg1: paddle::platform::CPUPlace) -> None\r\n26:\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/comments/326536999","html_url":"https://github.com/PaddlePaddle/Paddle/issues/3805#issuecomment-326536999","issue_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/3805","id":326536999,"user":{"login":"Yancey1989","id":1426912,"avatar_url":"https://avatars2.githubusercontent.com/u/1426912?v=4","gravatar_id":"","url":"https://api.github.com/users/Yancey1989","html_url":"https://github.com/Yancey1989","followers_url":"https://api.github.com/users/Yancey1989/followers","following_url":"https://api.github.com/users/Yancey1989/following{/other_user}","gists_url":"https://api.github.com/users/Yancey1989/gists{/gist_id}","starred_url":"https://api.github.com/users/Yancey1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yancey1989/subscriptions","organizations_url":"https://api.github.com/users/Yancey1989/orgs","repos_url":"https://api.github.com/users/Yancey1989/repos","events_url":"https://api.github.com/users/Yancey1989/events{/privacy}","received_events_url":"https://api.github.com/users/Yancey1989/received_events","type":"User","site_admin":false},"created_at":"2017-09-01T09:37:58Z","updated_at":"2017-09-01T09:37:58Z","author_association":"CONTRIBUTOR","body":"Hi @QiJune ，X就是使用`ConcatOp`时输入的多个数组。\r\n"}}
{"actor":{"display_login":"Yancey1989"}}