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.7.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67aaa9c3c21679930a541f76af02e5da658b1b2c7e4f2f4a7b38de5afbad4a19 |
|
MD5 | 23a7281c0cc5a29441644ae0c1e11cb4 |
|
BLAKE2b-256 | 33279c9c90bb9c43d0d585927445ddec50d3efc16d715aaae2521a052f7fac79 |