Constructor HardSigmoid
HardSigmoid(string, string, float, float)
Initializes and returns an instance of HardSigmoid activation layer.
Declaration
public HardSigmoid(string name, string input, float alpha = 0.2, float beta = 0.5)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name to use for the output tensor of the layer. |
| string | input | The name to use for the input tensor of the layer. |
| float | alpha | The alpha value to use for the |
| float | beta | The beta value to use for the |