Fix Theano Cudnn BatchNorm when axis!=1 (#3968)
Fix Theano Cudnn BatchNorm when axis!=1 (#3968)

* fix batch_norm when axis!=1

* fix dimshuffle for all backends

* moving cudnn bn fix to theano backend

* fix pep8

* dont use cudnn when bn axis is non broadcastable, ie dim=1

keras-team/keras,keras-team/keras,dolaameng/keras