Layer normalization implemented in Keras
Project description
Keras Layer Normalization
Implementation of the paper: Layer Normalization
Install
pip install keras-layer-normalization
Usage
from tensorflow 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
File details
Details for the file keras-layer-normalization-0.16.0.tar.gz.
File metadata
- Download URL: keras-layer-normalization-0.16.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80d0a9ab54c35179486b99f6940c96b96ca7b8e87b204501bb6bca7dd8216001
|
|
| MD5 |
8c668386a25ffd8fc2d663775a3b7da2
|
|
| BLAKE2b-256 |
9fa0b1266b0d852d10ac8339540d09fb90e38c198b6a2bcdeb3a881338d4a8fc
|