LayerNorm
torch.nn.modules.normalization.LayerNorm
final class LayerNorm[ParamType <: DType](normalizedShape: Seq[Int] | Int, eps: Double, elementwiseAffine: Boolean)(implicit evidence$1: Default[ParamType]) extends TensorModule[ParamType]
Applies Layer Normalization over a mini-batch of inputs as described in the paper Layer Normalization // TODO Add docs
Attributes
- Source
- LayerNorm.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Source
- LayerNorm.scala
Inherited methods
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Adds a buffer to the module.
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Attributes
- Inherited from:
- Module
- Source
- Module.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
- Inherited from:
- TensorModule
- Source
- Module.scala
In this article