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.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a95a1c26f459b6449b4037793f27c1506d8d26e8b6f5c8de21cd1c99f497b7bf |
|
MD5 | 6021a6626280c2723782806d36bbd54c |
|
BLAKE2b-256 | 81dc91a8a17db38611febb9456b23f7b727626dad9769d7ede6a658793e81059 |