Method Selu
Selu(TensorFloat, TensorFloat, float, float)
Computes an output tensor by applying the element-wise Selu activation function: f(x) = gamma * x if x >= 0, otherwise f(x) = (alpha * e^x - alpha).
Declaration
public virtual void Selu(TensorFloat X, TensorFloat O, float alpha, float gamma)
Parameters
| Type | Name | Description |
|---|---|---|
| TensorFloat | X | The input tensor. |
| TensorFloat | O | The output tensor to be computed and filled. |
| float | alpha | The alpha value to use for the |
| float | gamma | The alpha value to use for the |