Constructor Clip
Clip(string, string)
Initializes and returns an instance of Clip
math layer with no min or max tensors.
Declaration
public Clip(string name, string input)
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. |
Clip(string, string, string)
Initializes and returns an instance of Clip
math layer with no max tensor.
Declaration
public Clip(string name, string input, string min)
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. |
string | min | The name to use for the min scalar tensor of the layer. |
Clip(string, string, string, string)
Initializes and returns an instance of Clip
math layer.
Declaration
public Clip(string name, string input, string min, string max)
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. |
string | min | The name to use for the min scalar tensor of the layer. |
string | max | The name to use for the max scalar tensor of the layer. |