Please how do I import batch normalization in google Colab. I have used thses codes
#from tensorflow.python.keras.layers.core import BatchNormalization #
#from tensorflow.keras.layers import BatchNormalization
but i Kept getting this error:
ImportError: cannot import name ‘BatchNormalization’ from ‘tensorflow.python.keras.layers.core’ (/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/layers/core.py)
Kindly help
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.