Method LeakyRelu
LeakyRelu(TensorFloat, TensorFloat, float)
Computes an output tensor by applying the element-wise LeakyRelu
activation function: f(x) = x if x >= 0, otherwise f(x) = alpha * x.
Declaration
public virtual void LeakyRelu(TensorFloat X, TensorFloat O, float alpha)
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 |