{"action":"created","issue":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/14718","repository_url":"https://api.github.com/repos/pytorch/pytorch","labels_url":"https://api.github.com/repos/pytorch/pytorch/issues/14718/labels{/name}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/14718/comments","events_url":"https://api.github.com/repos/pytorch/pytorch/issues/14718/events","html_url":"https://github.com/pytorch/pytorch/pull/14718","id":387003329,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1NTkwNjE2","number":14718,"title":"[WIP][C++ Frontend] Kaiming Initialization","user":{"login":"JoshVarty","id":1249087,"node_id":"MDQ6VXNlcjEyNDkwODc=","avatar_url":"https://avatars0.githubusercontent.com/u/1249087?v=4","gravatar_id":"","url":"https://api.github.com/users/JoshVarty","html_url":"https://github.com/JoshVarty","followers_url":"https://api.github.com/users/JoshVarty/followers","following_url":"https://api.github.com/users/JoshVarty/following{/other_user}","gists_url":"https://api.github.com/users/JoshVarty/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshVarty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshVarty/subscriptions","organizations_url":"https://api.github.com/users/JoshVarty/orgs","repos_url":"https://api.github.com/users/JoshVarty/repos","events_url":"https://api.github.com/users/JoshVarty/events{/privacy}","received_events_url":"https://api.github.com/users/JoshVarty/received_events","type":"User","site_admin":false},"labels":[{"id":917150434,"node_id":"MDU6TGFiZWw5MTcxNTA0MzQ=","url":"https://api.github.com/repos/pytorch/pytorch/labels/cpp","name":"cpp","color":"000000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-12-03T21:00:22Z","updated_at":"2018-12-20T21:37:16Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/pytorch/pytorch/pulls/14718","html_url":"https://github.com/pytorch/pytorch/pull/14718","diff_url":"https://github.com/pytorch/pytorch/pull/14718.diff","patch_url":"https://github.com/pytorch/pytorch/pull/14718.patch"},"body":"/cc @goldsborough \r\n\r\nWorking on #14582 \r\n\r\nThe corresponding python implementations are at: [pytorch/torch/nn/init.py](https://github.com/pytorch/pytorch/blob/6302e4001ab54b3ddeca2b608d337fe7077e801c/torch/nn/init.py#L261-L327)\r\n\r\nHere is my initial implementation of Kaiming Initialization. I have not been able to figure out how to successfully run tests locally so I haven't added any yet. \r\n\r\nA couple questions: \r\n- Are the enums defined in the right place? I copied their names from Python, but do you prefer different naming conventions for C++?\r\n- To run tests locally do I use `python setup.py test`? Can I run just a subset of the tests somehow?\r\n- Should I add my tests at [test/cpp/api/misc.cpp](https://github.com/pytorch/pytorch/blob/master/test/cpp/api/misc.cpp#L47-L54)?\r\n \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/comments/449143444","html_url":"https://github.com/pytorch/pytorch/pull/14718#issuecomment-449143444","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/14718","id":449143444,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTE0MzQ0NA==","user":{"login":"ezyang","id":13564,"node_id":"MDQ6VXNlcjEzNTY0","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-12-20T21:37:16Z","updated_at":"2018-12-20T21:37:16Z","author_association":"CONTRIBUTOR","body":"@goldsborough is this ready to go?"}}
{"actor":{"display_login":"ezyang"}}