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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54101135380193c8f5cf79f576c7bd706e98184cf5fb503092d9eaaade66b5c3 |
|
MD5 | b71d5f4bdd7d2f8af53fc20a7212d788 |
|
BLAKE2b-256 | 88b83b54908d15dd0ac556d2a43caa3bc7280efd035242cbc60ee2d091775834 |