You may also read my write up for more detail.
Tested with Python 3.5
tensorflow==1.4.0 matplotlib numpy
Run the python notebook by cd into the directory in command line then run
jupyter notebook
Select in the browser Keras_Batch_Normalization.ipynb
Enjoy, leave a comment in my blog post if you have any question.