{"action":"created","issue":{"url":"https://api.github.com/repos/Theano/Theano/issues/4162","repository_url":"https://api.github.com/repos/Theano/Theano","labels_url":"https://api.github.com/repos/Theano/Theano/issues/4162/labels{/name}","comments_url":"https://api.github.com/repos/Theano/Theano/issues/4162/comments","events_url":"https://api.github.com/repos/Theano/Theano/issues/4162/events","html_url":"https://github.com/Theano/Theano/issues/4162","id":137940084,"number":4162,"title":"Replace some subtensors with DimShuffle","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},"labels":[{"url":"https://api.github.com/repos/Theano/Theano/labels/CCW","name":"CCW","color":"f7c6c7"},{"url":"https://api.github.com/repos/Theano/Theano/labels/Optimization","name":"Optimization","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-03-02T17:32:38Z","updated_at":"2016-04-25T01:52:31Z","closed_at":"2016-04-25T01:52:13Z","body":"Subtensors like `a[:, :, None, :]` could be done with `a.dimsuffle(0, 1, 'x', 2)` which is faster and better optimized.\r\n\r\nSee https://github.com/abergeron/Theano/commit/4c41ccddca298b3d5b859906347f82282987372d for an example."},"comment":{"url":"https://api.github.com/repos/Theano/Theano/issues/comments/214090993","html_url":"https://github.com/Theano/Theano/issues/4162#issuecomment-214090993","issue_url":"https://api.github.com/repos/Theano/Theano/issues/4162","id":214090993,"user":{"login":"fvisin","id":4639261,"avatar_url":"https://avatars.githubusercontent.com/u/4639261?v=3","gravatar_id":"","url":"https://api.github.com/users/fvisin","html_url":"https://github.com/fvisin","followers_url":"https://api.github.com/users/fvisin/followers","following_url":"https://api.github.com/users/fvisin/following{/other_user}","gists_url":"https://api.github.com/users/fvisin/gists{/gist_id}","starred_url":"https://api.github.com/users/fvisin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvisin/subscriptions","organizations_url":"https://api.github.com/users/fvisin/orgs","repos_url":"https://api.github.com/users/fvisin/repos","events_url":"https://api.github.com/users/fvisin/events{/privacy}","received_events_url":"https://api.github.com/users/fvisin/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T01:52:31Z","updated_at":"2016-04-25T01:52:31Z","body":"Fixed in #4356"}}