Constructor ScalarMad
ScalarMad(string, string, float, float)
Initializes and returns an instance of ScalarMad
math layer.
Declaration
public ScalarMad(string name, string input, float s, float b)
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 | s | The value of the scale for the scalarmad function. |
float | b | The value of the bias for the scalarmad function. |