{"action":"created","issue":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/5297","repository_url":"https://api.github.com/repos/pytorch/pytorch","labels_url":"https://api.github.com/repos/pytorch/pytorch/issues/5297/labels{/name}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/5297/comments","events_url":"https://api.github.com/repos/pytorch/pytorch/issues/5297/events","html_url":"https://github.com/pytorch/pytorch/pull/5297","id":298233124,"number":5297,"title":"[WIP] Add nn.ModuleDict (#4048)","user":{"login":"rkaplan","id":1389330,"avatar_url":"https://avatars0.githubusercontent.com/u/1389330?v=4","gravatar_id":"","url":"https://api.github.com/users/rkaplan","html_url":"https://github.com/rkaplan","followers_url":"https://api.github.com/users/rkaplan/followers","following_url":"https://api.github.com/users/rkaplan/following{/other_user}","gists_url":"https://api.github.com/users/rkaplan/gists{/gist_id}","starred_url":"https://api.github.com/users/rkaplan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkaplan/subscriptions","organizations_url":"https://api.github.com/users/rkaplan/orgs","repos_url":"https://api.github.com/users/rkaplan/repos","events_url":"https://api.github.com/users/rkaplan/events{/privacy}","received_events_url":"https://api.github.com/users/rkaplan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-19T10:54:09Z","updated_at":"2018-03-23T21:24:14Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/pytorch/pytorch/pulls/5297","html_url":"https://github.com/pytorch/pytorch/pull/5297","diff_url":"https://github.com/pytorch/pytorch/pull/5297.diff","patch_url":"https://github.com/pytorch/pytorch/pull/5297.patch"},"body":"Issue #4048\r\n\r\nThis PR implements an nn.ModuleDict class. Its purpose is similar to nn.ModuleList (ensuring modules in a collection are properly registered) but it exposes a dict interface instead. See issue #4048 for discussion.\r\n\r\nThis PR is still untested as I have been unable to compile PyTorch from source on my Mac; please do not merge it yet. I am putting it out for feedback now until I find the chance to sit down and fix the compilation issues and test it myself.\r\n\r\nThis is my first contribution to PyTorch, please let me know if I should be doing anything differently. Cheers.\r\n"},"comment":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/comments/375802359","html_url":"https://github.com/pytorch/pytorch/pull/5297#issuecomment-375802359","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/5297","id":375802359,"user":{"login":"ezyang","id":13564,"avatar_url":"https://avatars0.githubusercontent.com/u/13564?v=4","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T21:24:14Z","updated_at":"2018-03-23T21:24:14Z","author_association":"COLLABORATOR","body":"@rkaplan Are you planning to fix the tests?"}}
{"actor":{"display_login":"ezyang"}}