yingying123321 / torch-layer-normalization

Layer normalization in PyTorch

Home Page:https://pypi.org/project/torch-layer-normalization/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyTorch Layer Normalization

Travis Coverage

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.

About

Layer normalization in PyTorch

https://pypi.org/project/torch-layer-normalization/

License:MIT License


Languages

Language:Python 95.3%Language:Shell 4.7%