Constructor Shrink
Shrink(string, string, float, float)
Initializes and returns an instance of Shrink
math layer.
Declaration
public Shrink(string name, string input, float bias, float lambd)
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 | bias | The value of the bias for the shrink function. |
float | lambd | The value of lambda for the shrink function. |