ImportError: cannot import name ‘LayerNormalization’ from ‘tensorflow.python.keras.layers.normalization’

How to fix the error below? Thanks.

ImportError: cannot import name 'LayerNormalization' from 'tensorflow.python.keras.layers.normalization' (/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/layers/normalization/__init__.py)

1 thought on “ImportError: cannot import name ‘LayerNormalization’ from ‘tensorflow.python.keras.layers.normalization’

Comments are closed.