Skip to main content

Layer normalization implemented in Keras

Project description

Keras Layer Normalization

Travis Coverage Version Downloads License

Implementation of the paper: Layer Normalization


pip install keras-layer-normalization


import keras
from keras_layer_normalization import LayerNormalization

input_layer = keras.layers.Input(shape=(2, 3))
norm_layer = LayerNormalization()(input_layer)
model = keras.models.Model(inputs=input_layer, outputs=norm_layer)
model.compile(optimizer='adam', loss='mse', metrics={},)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for keras-layer-normalization, version 0.15.0
Filename, size File type Python version Upload date Hashes
Filename, size keras-layer-normalization-0.15.0.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page