{"action":"created","issue":{"url":"https://api.github.com/repos/PAIR-code/deeplearnjs/issues/138","repository_url":"https://api.github.com/repos/PAIR-code/deeplearnjs","labels_url":"https://api.github.com/repos/PAIR-code/deeplearnjs/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/PAIR-code/deeplearnjs/issues/138/comments","events_url":"https://api.github.com/repos/PAIR-code/deeplearnjs/issues/138/events","html_url":"https://github.com/PAIR-code/deeplearnjs/issues/138","id":258780482,"number":138,"title":"How to implement something like `tf.nn.moments()`?","user":{"login":"reiinakano","id":18363734,"avatar_url":"https://avatars0.githubusercontent.com/u/18363734?v=4","gravatar_id":"","url":"https://api.github.com/users/reiinakano","html_url":"https://github.com/reiinakano","followers_url":"https://api.github.com/users/reiinakano/followers","following_url":"https://api.github.com/users/reiinakano/following{/other_user}","gists_url":"https://api.github.com/users/reiinakano/gists{/gist_id}","starred_url":"https://api.github.com/users/reiinakano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reiinakano/subscriptions","organizations_url":"https://api.github.com/users/reiinakano/orgs","repos_url":"https://api.github.com/users/reiinakano/repos","events_url":"https://api.github.com/users/reiinakano/events{/privacy}","received_events_url":"https://api.github.com/users/reiinakano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"dsmilkov","id":2294279,"avatar_url":"https://avatars2.githubusercontent.com/u/2294279?v=4","gravatar_id":"","url":"https://api.github.com/users/dsmilkov","html_url":"https://github.com/dsmilkov","followers_url":"https://api.github.com/users/dsmilkov/followers","following_url":"https://api.github.com/users/dsmilkov/following{/other_user}","gists_url":"https://api.github.com/users/dsmilkov/gists{/gist_id}","starred_url":"https://api.github.com/users/dsmilkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsmilkov/subscriptions","organizations_url":"https://api.github.com/users/dsmilkov/orgs","repos_url":"https://api.github.com/users/dsmilkov/repos","events_url":"https://api.github.com/users/dsmilkov/events{/privacy}","received_events_url":"https://api.github.com/users/dsmilkov/received_events","type":"User","site_admin":false},"assignees":[{"login":"dsmilkov","id":2294279,"avatar_url":"https://avatars2.githubusercontent.com/u/2294279?v=4","gravatar_id":"","url":"https://api.github.com/users/dsmilkov","html_url":"https://github.com/dsmilkov","followers_url":"https://api.github.com/users/dsmilkov/followers","following_url":"https://api.github.com/users/dsmilkov/following{/other_user}","gists_url":"https://api.github.com/users/dsmilkov/gists{/gist_id}","starred_url":"https://api.github.com/users/dsmilkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsmilkov/subscriptions","organizations_url":"https://api.github.com/users/dsmilkov/orgs","repos_url":"https://api.github.com/users/dsmilkov/repos","events_url":"https://api.github.com/users/dsmilkov/events{/privacy}","received_events_url":"https://api.github.com/users/dsmilkov/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-09-19T11:01:58Z","updated_at":"2017-10-19T15:49:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Basically, I want to be able to calculate the mean + variance across different axes just like `tf.nn.moments` in Tensorflow. This is so I could implement instance normalization (normalization across height and width in images).\r\n\r\nI'm a bit stuck on the best way to calculate means and variances over various axes in an Array3D (I'd like one mean and one variance per channel). Could you point me to some existing methods and functions I could use to implement this? Thanks."},"comment":{"url":"https://api.github.com/repos/PAIR-code/deeplearnjs/issues/comments/337951465","html_url":"https://github.com/PAIR-code/deeplearnjs/issues/138#issuecomment-337951465","issue_url":"https://api.github.com/repos/PAIR-code/deeplearnjs/issues/138","id":337951465,"user":{"login":"reiinakano","id":18363734,"avatar_url":"https://avatars0.githubusercontent.com/u/18363734?v=4","gravatar_id":"","url":"https://api.github.com/users/reiinakano","html_url":"https://github.com/reiinakano","followers_url":"https://api.github.com/users/reiinakano/followers","following_url":"https://api.github.com/users/reiinakano/following{/other_user}","gists_url":"https://api.github.com/users/reiinakano/gists{/gist_id}","starred_url":"https://api.github.com/users/reiinakano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reiinakano/subscriptions","organizations_url":"https://api.github.com/users/reiinakano/orgs","repos_url":"https://api.github.com/users/reiinakano/repos","events_url":"https://api.github.com/users/reiinakano/events{/privacy}","received_events_url":"https://api.github.com/users/reiinakano/received_events","type":"User","site_admin":false},"created_at":"2017-10-19T15:49:57Z","updated_at":"2017-10-19T15:49:57Z","author_association":"CONTRIBUTOR","body":"@nsthorat no worries, I've been checking the deeplearnjs commits from time to time as well. Looks like you're pretty close. Thanks for the update!"}}
{"actor":{"display_login":"reiinakano"}}