Layer normalization implemented in Keras
Project description
Keras Layer Normalization
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
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.15.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31fe647944438bee8120566fe1275bc0e8dcf58a3503ec51d364087ae9cee258 |
|
MD5 | 2eaf1f0305170b4ab4c889e6972250f5 |
|
BLAKE2b-256 | 33e10da586d544a0940a56a2f4aa704b7dbd95eaa8ceda6168b48f5ac95e6608 |