{"action":"created","issue":{"url":"https://api.github.com/repos/harvardnlp/seq2seq-attn/issues/34","repository_url":"https://api.github.com/repos/harvardnlp/seq2seq-attn","labels_url":"https://api.github.com/repos/harvardnlp/seq2seq-attn/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/harvardnlp/seq2seq-attn/issues/34/comments","events_url":"https://api.github.com/repos/harvardnlp/seq2seq-attn/issues/34/events","html_url":"https://github.com/harvardnlp/seq2seq-attn/issues/34","id":164534038,"number":34,"title":"optimization with optim package","user":{"login":"chenwangliangguo","id":8792288,"avatar_url":"https://avatars.githubusercontent.com/u/8792288?v=3","gravatar_id":"","url":"https://api.github.com/users/chenwangliangguo","html_url":"https://github.com/chenwangliangguo","followers_url":"https://api.github.com/users/chenwangliangguo/followers","following_url":"https://api.github.com/users/chenwangliangguo/following{/other_user}","gists_url":"https://api.github.com/users/chenwangliangguo/gists{/gist_id}","starred_url":"https://api.github.com/users/chenwangliangguo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenwangliangguo/subscriptions","organizations_url":"https://api.github.com/users/chenwangliangguo/orgs","repos_url":"https://api.github.com/users/chenwangliangguo/repos","events_url":"https://api.github.com/users/chenwangliangguo/events{/privacy}","received_events_url":"https://api.github.com/users/chenwangliangguo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-08T13:44:24Z","updated_at":"2016-07-14T04:05:22Z","closed_at":"2016-07-11T18:39:33Z","body":"Hi ,great job. \r\nIt seems that the optimization part is done manually , i wonder whether can we combine optim package (or some other automatic way)with it or not, if yes, how to do that, i am a new comer to torch, thank you in advance."},"comment":{"url":"https://api.github.com/repos/harvardnlp/seq2seq-attn/issues/comments/232551505","html_url":"https://github.com/harvardnlp/seq2seq-attn/issues/34#issuecomment-232551505","issue_url":"https://api.github.com/repos/harvardnlp/seq2seq-attn/issues/34","id":232551505,"user":{"login":"chenwangliangguo","id":8792288,"avatar_url":"https://avatars.githubusercontent.com/u/8792288?v=3","gravatar_id":"","url":"https://api.github.com/users/chenwangliangguo","html_url":"https://github.com/chenwangliangguo","followers_url":"https://api.github.com/users/chenwangliangguo/followers","following_url":"https://api.github.com/users/chenwangliangguo/following{/other_user}","gists_url":"https://api.github.com/users/chenwangliangguo/gists{/gist_id}","starred_url":"https://api.github.com/users/chenwangliangguo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenwangliangguo/subscriptions","organizations_url":"https://api.github.com/users/chenwangliangguo/orgs","repos_url":"https://api.github.com/users/chenwangliangguo/repos","events_url":"https://api.github.com/users/chenwangliangguo/events{/privacy}","received_events_url":"https://api.github.com/users/chenwangliangguo/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T04:05:22Z","updated_at":"2016-07-14T04:05:22Z","body":"@yoonkim   Thank you for your reply.\r\nanother issue: what is the meaning of function of setReuse, why set the gradInput equal to the the  output, in my opinion, they are not the same thing:\r\n\r\n        function nn.Module:setReuse()\r\n            if self.reuse then\r\n             self.gradInput = self.output\r\n          end\r\n       end"}}
{"actor":{"display_login":"chenwangliangguo"}}