Layer normalization implemented in PyTorch
Project description
PyTorch Layer Normalization
Implementation of the paper: Layer Normalization
Install
pip install torch-layer-normalization
Usage
from torch_layer_normalization import LayerNormalization
LayerNormalization(normal_shape=normal_shape)
# The `normal_shape` could be the last dimension of the input tensor or the shape of the input tensor.
Project details
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 torch-layer-normalization-0.11.0.tar.gz
.
File metadata
- Download URL: torch-layer-normalization-0.11.0.tar.gz
- Upload date:
- Size: 3.2 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 | de92dfb6955c81cd7ee4b8266ae40a4465ce62f3347c4e9a2bf417f8ca291fba |
|
MD5 | bcdad14f92a55ec7ed438131d75ffcc8 |
|
BLAKE2b-256 | 4deef25d978bdc94839ee30126dbe86113d009a73e52aef9d870198ac3d65643 |