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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size torch-layer-normalization-0.11.0.tar.gz (3.2 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for torch-layer-normalization-0.11.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de92dfb6955c81cd7ee4b8266ae40a4465ce62f3347c4e9a2bf417f8ca291fba |
|
MD5 | bcdad14f92a55ec7ed438131d75ffcc8 |
|
BLAKE2-256 | 4deef25d978bdc94839ee30126dbe86113d009a73e52aef9d870198ac3d65643 |