Layer normalization implemented in Keras
Project description
Keras Layer Normalization
Implementation of the paper: Layer Normalization
Install
pip install keras-layer-normalization
Usage
from tensorflow 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for keras-layer-normalization-0.16.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80d0a9ab54c35179486b99f6940c96b96ca7b8e87b204501bb6bca7dd8216001 |
|
MD5 | 8c668386a25ffd8fc2d663775a3b7da2 |
|
BLAKE2b-256 | 9fa0b1266b0d852d10ac8339540d09fb90e38c198b6a2bcdeb3a881338d4a8fc |