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

Install

pip install keras-layer-normalization

Usage

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={},)
model.summary()

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.14.0
Filename, size File type Python version Upload date Hashes
Filename, size keras-layer-normalization-0.14.0.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page