{"action":"created","issue":{"url":"https://api.github.com/repos/benanne/Lasagne/issues/17","labels_url":"https://api.github.com/repos/benanne/Lasagne/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/benanne/Lasagne/issues/17/comments","events_url":"https://api.github.com/repos/benanne/Lasagne/issues/17/events","html_url":"https://github.com/benanne/Lasagne/issues/17","id":42627103,"number":17,"title":"Recurrence","user":{"login":"benanne","id":43829,"avatar_url":"https://avatars.githubusercontent.com/u/43829?v=3","gravatar_id":"","url":"https://api.github.com/users/benanne","html_url":"https://github.com/benanne","followers_url":"https://api.github.com/users/benanne/followers","following_url":"https://api.github.com/users/benanne/following{/other_user}","gists_url":"https://api.github.com/users/benanne/gists{/gist_id}","starred_url":"https://api.github.com/users/benanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benanne/subscriptions","organizations_url":"https://api.github.com/users/benanne/orgs","repos_url":"https://api.github.com/users/benanne/repos","events_url":"https://api.github.com/users/benanne/events{/privacy}","received_events_url":"https://api.github.com/users/benanne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":178,"created_at":"2014-09-12T13:09:50Z","updated_at":"2015-01-17T20:35:03Z","closed_at":null,"body":"layers.py, on which most of the nntools code is based, has always been geared towards feed-forward neural networks. We should look into recurrent neural networks as well. Personally I don't have a lot of hands-on experience with this type of models. I'm not entirely sure how hard it would be to implement the necessary elements - would modifications to the library design be required? Does anyone have any insights about this?"},"comment":{"url":"https://api.github.com/repos/benanne/Lasagne/issues/comments/70383224","html_url":"https://github.com/benanne/Lasagne/issues/17#issuecomment-70383224","issue_url":"https://api.github.com/repos/benanne/Lasagne/issues/17","id":70383224,"user":{"login":"benanne","id":43829,"avatar_url":"https://avatars.githubusercontent.com/u/43829?v=3","gravatar_id":"","url":"https://api.github.com/users/benanne","html_url":"https://github.com/benanne","followers_url":"https://api.github.com/users/benanne/followers","following_url":"https://api.github.com/users/benanne/following{/other_user}","gists_url":"https://api.github.com/users/benanne/gists{/gist_id}","starred_url":"https://api.github.com/users/benanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benanne/subscriptions","organizations_url":"https://api.github.com/users/benanne/orgs","repos_url":"https://api.github.com/users/benanne/repos","events_url":"https://api.github.com/users/benanne/events{/privacy}","received_events_url":"https://api.github.com/users/benanne/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T20:35:03Z","updated_at":"2015-01-17T20:35:03Z","body":"Actually, on closer inspection, this implementation is wrong:\r\n\r\n```\r\n    def get_output_for(self, input, *args, **kwargs):\r\n        output = self.input_layers[0].get_output_for(input, *args, **kwargs)\r\n        for layer in self.input_layers[1:]:\r\n            output += layer.get_output_for(input, *args, **kwargs)\r\n        return output\r\n```\r\n\r\nIt does not make sense for `get_output_for` to call `get_output_for` on its parents. Are you sure this is doing the same computation as before?"}}