{"action":"created","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/5328","repository_url":"https://api.github.com/repos/fchollet/keras","labels_url":"https://api.github.com/repos/fchollet/keras/issues/5328/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/5328/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/5328/events","html_url":"https://github.com/fchollet/keras/issues/5328","id":206274510,"number":5328,"title":"BatchNormalization axis default","user":{"login":"valtron","id":123696,"avatar_url":"https://avatars1.githubusercontent.com/u/123696?v=3","gravatar_id":"","url":"https://api.github.com/users/valtron","html_url":"https://github.com/valtron","followers_url":"https://api.github.com/users/valtron/followers","following_url":"https://api.github.com/users/valtron/following{/other_user}","gists_url":"https://api.github.com/users/valtron/gists{/gist_id}","starred_url":"https://api.github.com/users/valtron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valtron/subscriptions","organizations_url":"https://api.github.com/users/valtron/orgs","repos_url":"https://api.github.com/users/valtron/repos","events_url":"https://api.github.com/users/valtron/events{/privacy}","received_events_url":"https://api.github.com/users/valtron/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-08T17:53:50Z","updated_at":"2017-05-23T19:49:34Z","closed_at":"2017-05-23T19:49:34Z","body":"The default `axis` for mode 0 is -1. In the tf convention this is normalization per feature map, but in the (more common?) th convention, this normalizes per last dimension of the input. If input is >1D, this doesn't make sense: it treats one of the dimensions as \"special\".\r\n\r\nShould the default be changed to conditionally set it to -1/+1 based on `image_dim_ordering`?"},"comment":{"url":"https://api.github.com/repos/fchollet/keras/issues/comments/303512067","html_url":"https://github.com/fchollet/keras/issues/5328#issuecomment-303512067","issue_url":"https://api.github.com/repos/fchollet/keras/issues/5328","id":303512067,"user":{"login":"fchollet","id":710255,"avatar_url":"https://avatars0.githubusercontent.com/u/710255?v=3","gravatar_id":"","url":"https://api.github.com/users/fchollet","html_url":"https://github.com/fchollet","followers_url":"https://api.github.com/users/fchollet/followers","following_url":"https://api.github.com/users/fchollet/following{/other_user}","gists_url":"https://api.github.com/users/fchollet/gists{/gist_id}","starred_url":"https://api.github.com/users/fchollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fchollet/subscriptions","organizations_url":"https://api.github.com/users/fchollet/orgs","repos_url":"https://api.github.com/users/fchollet/repos","events_url":"https://api.github.com/users/fchollet/events{/privacy}","received_events_url":"https://api.github.com/users/fchollet/received_events","type":"User","site_admin":false},"created_at":"2017-05-23T19:49:34Z","updated_at":"2017-05-23T19:49:34Z","body":"This should definitely be closed.\r\n\r\nAxis `-1 ` is always the features axis, *except* image tensors with `data_format=\"channels_first\"`, which is very niche. The default should *not* depend on `image_data_format` because that only makes sense in the case of BN over image tensor."}}
{"actor":{"display_login":"fchollet"}}