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.11.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4165d7c756c368c173f10b8b215c6b79459795a18b84adce7fead1b61e7e8ac9 |
|
MD5 | 4b29fa7ba676a7182d826c215e0f58bc |
|
BLAKE2b-256 | c6b0c786d5a5e79d985281a06da0a1f3f559cf425921464e6b07b9f1cb093a5a |