Method Sigmoid
Sigmoid(Mat, Mat)
Applies the sigmoid function to the input matrix and stores the result in the output matrix.
Declaration
public static void Sigmoid(this Mat mat, Mat output)
Parameters
Type | Name | Description |
---|---|---|
Mat | mat | The input matrix. |
Mat | output | The output matrix, where the result is stored. |
Sigmoid(Mat)
Applies the sigmoid function to the input matrix and stores the result in the same matrix.
Declaration
public static void Sigmoid(this Mat mat)
Parameters
Type | Name | Description |
---|---|---|
Mat | mat | The input matrix, where the result is also stored. |