Method Relu6
Relu6(TensorFloat)
Computes an output tensor by applying the element-wise Relu6 activation function: f(x) = clamp(X, 0, 6).
Declaration
public TensorFloat Relu6(TensorFloat X)
Parameters
| Type | Name | Description |
|---|---|---|
| TensorFloat | X | The input tensor. |
Returns
| Type | Description |
|---|---|
| TensorFloat | The computed output tensor. |