Layer normalization implemented in Keras
Project description
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.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 076c9853a24d468d92a4b1c8bb6c0cb8a3c00ff6c852bc6c2c744a7e192c0b4a |
|
MD5 | 8d64cb4ff136a4b1e69fdd2a4721b8d1 |
|
BLAKE2b-256 | eafecb54535e45c4845920813a8f1c0075c327104ea32c3546f86925de645e84 |