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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d15a7c2033aa2bab72fcf773476708b81b56ef385f05a84071e322d07bd27ab |
|
MD5 | 33ef39467bb982458b0ceae36760cb41 |
|
BLAKE2b-256 | ea7a192198076d5ed308faae9e5604bc3816908124af52cc1e5ecff2efddb462 |