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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01950aa49837ef96f3a7e95b4e44743bd86a66e7cabe9162809d200a45857ac0 |
|
MD5 | fdb07c2284db6ee789c27557d08ccd5a |
|
BLAKE2b-256 | b4fb7b2a03a46e5f4d518119cccf9b6d7db15a8d1845b36b54cbd51e8e7fcfd4 |