{"action":"created","issue":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/5636","repository_url":"https://api.github.com/repos/pytorch/pytorch","labels_url":"https://api.github.com/repos/pytorch/pytorch/issues/5636/labels{/name}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/5636/comments","events_url":"https://api.github.com/repos/pytorch/pytorch/issues/5636/events","html_url":"https://github.com/pytorch/pytorch/issues/5636","id":303582025,"number":5636,"title":"nn.Module.__call__ shouldn't have import statements inside","user":{"login":"apaszke","id":4583066,"avatar_url":"https://avatars3.githubusercontent.com/u/4583066?v=4","gravatar_id":"","url":"https://api.github.com/users/apaszke","html_url":"https://github.com/apaszke","followers_url":"https://api.github.com/users/apaszke/followers","following_url":"https://api.github.com/users/apaszke/following{/other_user}","gists_url":"https://api.github.com/users/apaszke/gists{/gist_id}","starred_url":"https://api.github.com/users/apaszke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apaszke/subscriptions","organizations_url":"https://api.github.com/users/apaszke/orgs","repos_url":"https://api.github.com/users/apaszke/repos","events_url":"https://api.github.com/users/apaszke/events{/privacy}","received_events_url":"https://api.github.com/users/apaszke/received_events","type":"User","site_admin":false},"labels":[{"id":443484050,"url":"https://api.github.com/repos/pytorch/pytorch/labels/medium%20priority","name":"medium priority","color":"fbca04","default":false},{"id":679952992,"url":"https://api.github.com/repos/pytorch/pytorch/labels/performance","name":"performance","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-08T18:23:23Z","updated_at":"2018-03-12T20:19:34Z","closed_at":null,"author_association":"OWNER","body":"It's called all the time, and import statements are quite expensive."},"comment":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/comments/372448873","html_url":"https://github.com/pytorch/pytorch/issues/5636#issuecomment-372448873","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/5636","id":372448873,"user":{"login":"zou3519","id":5652049,"avatar_url":"https://avatars3.githubusercontent.com/u/5652049?v=4","gravatar_id":"","url":"https://api.github.com/users/zou3519","html_url":"https://github.com/zou3519","followers_url":"https://api.github.com/users/zou3519/followers","following_url":"https://api.github.com/users/zou3519/following{/other_user}","gists_url":"https://api.github.com/users/zou3519/gists{/gist_id}","starred_url":"https://api.github.com/users/zou3519/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zou3519/subscriptions","organizations_url":"https://api.github.com/users/zou3519/orgs","repos_url":"https://api.github.com/users/zou3519/repos","events_url":"https://api.github.com/users/zou3519/events{/privacy}","received_events_url":"https://api.github.com/users/zou3519/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T20:19:34Z","updated_at":"2018-03-12T20:19:34Z","author_association":"CONTRIBUTOR","body":"@apaszke I couldn't find any import statements in https://github.com/pytorch/pytorch/blob/master/torch/nn/modules/module.py#L365-L391 -- is this the module you were referring to?"}}
{"actor":{"display_login":"zou3519"}}