{"action":"created","issue":{"url":"https://api.github.com/repos/Theano/libgpuarray/issues/296","repository_url":"https://api.github.com/repos/Theano/libgpuarray","labels_url":"https://api.github.com/repos/Theano/libgpuarray/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/Theano/libgpuarray/issues/296/comments","events_url":"https://api.github.com/repos/Theano/libgpuarray/issues/296/events","html_url":"https://github.com/Theano/libgpuarray/issues/296","id":191681690,"number":296,"title":"GpuElemwise fails for \"uneven broadcasts\"","user":{"login":"kohr-h","id":5030250,"avatar_url":"https://avatars.githubusercontent.com/u/5030250?v=3","gravatar_id":"","url":"https://api.github.com/users/kohr-h","html_url":"https://github.com/kohr-h","followers_url":"https://api.github.com/users/kohr-h/followers","following_url":"https://api.github.com/users/kohr-h/following{/other_user}","gists_url":"https://api.github.com/users/kohr-h/gists{/gist_id}","starred_url":"https://api.github.com/users/kohr-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohr-h/subscriptions","organizations_url":"https://api.github.com/users/kohr-h/orgs","repos_url":"https://api.github.com/users/kohr-h/repos","events_url":"https://api.github.com/users/kohr-h/events{/privacy}","received_events_url":"https://api.github.com/users/kohr-h/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-25T11:27:27Z","updated_at":"2016-11-25T16:49:12Z","closed_at":null,"body":"I'm not sure if that is intended use of broadcasting, but `GpuElemwise` fails if I try to compute `out <-- a * x + b * out` where `out` and `x` have shape `(10, 10)`, `a` has shape `(10, 1)` and `b` is a scalar. See [this gist](https://gist.github.com/kohr-h/1d77c030aae32c8665eaf5908774767c) for a full example.\r\n\r\nIt's a bit hard for me to tell if I'm using the class correctly since the only thing I did basically was look a the code of the `ielemwise2` function and try to generalize it. Help is welcome."},"comment":{"url":"https://api.github.com/repos/Theano/libgpuarray/issues/comments/262995697","html_url":"https://github.com/Theano/libgpuarray/issues/296#issuecomment-262995697","issue_url":"https://api.github.com/repos/Theano/libgpuarray/issues/296","id":262995697,"user":{"login":"abergeron","id":1002504,"avatar_url":"https://avatars.githubusercontent.com/u/1002504?v=3","gravatar_id":"","url":"https://api.github.com/users/abergeron","html_url":"https://github.com/abergeron","followers_url":"https://api.github.com/users/abergeron/followers","following_url":"https://api.github.com/users/abergeron/following{/other_user}","gists_url":"https://api.github.com/users/abergeron/gists{/gist_id}","starred_url":"https://api.github.com/users/abergeron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abergeron/subscriptions","organizations_url":"https://api.github.com/users/abergeron/orgs","repos_url":"https://api.github.com/users/abergeron/repos","events_url":"https://api.github.com/users/abergeron/events{/privacy}","received_events_url":"https://api.github.com/users/abergeron/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T16:49:12Z","updated_at":"2016-11-25T16:49:12Z","body":"Your code is correct, but there was a bug in the underlying C code which I just fixed: #297.\r\n\r\nThank you for the report and the easy-to-use test case."}}
{"actor":{"display_login":"abergeron"}}