{"action":"created","issue":{"url":"https://api.github.com/repos/Element-Research/rnn/issues/89","repository_url":"https://api.github.com/repos/Element-Research/rnn","labels_url":"https://api.github.com/repos/Element-Research/rnn/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/Element-Research/rnn/issues/89/comments","events_url":"https://api.github.com/repos/Element-Research/rnn/issues/89/events","html_url":"https://github.com/Element-Research/rnn/issues/89","id":122840304,"number":89,"title":"Is it ok to use nngraph models inside of Sequencer?","user":{"login":"yoonkim","id":5378003,"avatar_url":"https://avatars.githubusercontent.com/u/5378003?v=3","gravatar_id":"","url":"https://api.github.com/users/yoonkim","html_url":"https://github.com/yoonkim","followers_url":"https://api.github.com/users/yoonkim/followers","following_url":"https://api.github.com/users/yoonkim/following{/other_user}","gists_url":"https://api.github.com/users/yoonkim/gists{/gist_id}","starred_url":"https://api.github.com/users/yoonkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoonkim/subscriptions","organizations_url":"https://api.github.com/users/yoonkim/orgs","repos_url":"https://api.github.com/users/yoonkim/repos","events_url":"https://api.github.com/users/yoonkim/events{/privacy}","received_events_url":"https://api.github.com/users/yoonkim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-17T22:51:15Z","updated_at":"2016-03-01T16:55:33Z","closed_at":"2016-01-12T21:45:10Z","body":"Are there any issues with using nngraph inside a sequencer?\r\n\r\nWe've been trying to port over some code to elements, and we are seeing:\r\n- large memory overhead (e.g. model that used to use 2GB memory is now using 12GB)\r\n- # of parameters (and the results) seem to be slightly off\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/Element-Research/rnn/issues/comments/190810185","html_url":"https://github.com/Element-Research/rnn/issues/89#issuecomment-190810185","issue_url":"https://api.github.com/repos/Element-Research/rnn/issues/89","id":190810185,"user":{"login":"blackyang","id":3350930,"avatar_url":"https://avatars.githubusercontent.com/u/3350930?v=3","gravatar_id":"","url":"https://api.github.com/users/blackyang","html_url":"https://github.com/blackyang","followers_url":"https://api.github.com/users/blackyang/followers","following_url":"https://api.github.com/users/blackyang/following{/other_user}","gists_url":"https://api.github.com/users/blackyang/gists{/gist_id}","starred_url":"https://api.github.com/users/blackyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackyang/subscriptions","organizations_url":"https://api.github.com/users/blackyang/orgs","repos_url":"https://api.github.com/users/blackyang/repos","events_url":"https://api.github.com/users/blackyang/events{/privacy}","received_events_url":"https://api.github.com/users/blackyang/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T16:55:33Z","updated_at":"2016-03-01T16:55:33Z","body":"Hi @nicholas-leonard is there any problem if I use a rnn module inside a gModule and manually do the fwd/bwd unrolling? \r\n\r\ne.g. \r\n```\r\nlocal output = {}\r\nfor t =  1, targets_len do\r\n    output[t] = some_gModule:forward({input1, input2, output[t-1})\r\nend\r\n```\r\n\r\nBecause from my understanding the above link only makes possible to use gModule inside a rnn. Correct me if I am wrong, many thanks!"}}