Class LayerNormalization
Represents an LayerNormalization normalization layer. This computes the mean variance on the last dimension of the input tensor and normalizes it according to scale and bias tensors.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class LayerNormalization : Layer
Constructors
| Name | Description |
|---|---|
| LayerNormalization(string, string, string, string, float) | Initializes and returns an instance of |
Fields
| Name | Description |
|---|---|
| epsilon | The epsilon value the layer uses to avoid division by zero. |
Methods
| Name | Description |
|---|---|
| Execute(Tensor[], ExecutionContext) | Executes the layer using the operations and variables from the If the layer has more than one output, output tensors are saved to variables. |
| ToString() | Returns a string that represents the |