Class Celu
Represents an element-wise Celu activation layer: f(x) = max(0, x) + min(0, alpha * (exp(x / alpha) - 1)).
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class Celu : Activation
Constructors
| Name | Description |
|---|---|
| Celu(string, string, float) | Initializes and returns an instance of |
Fields
| Name | Description |
|---|---|
| alpha | The alpha value to use for the |
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 |