kiwi.modules.common.layer_norm
TFLayerNorm
Construct a layer normalization module with epsilon inside the
kiwi.modules.common.layer_norm.
Bases: torch.nn.Module
torch.nn.Module
Construct a layer normalization module with epsilon inside the square root (tensorflow style).
This is equivalent to HuggingFace’s BertLayerNorm module.
forward
kiwi.modules.common.feedforward
kiwi.modules.common.positional_encoding