hardSigmoid(alpha:beta:)
Adds a hard sigmoid activation operation to the current graph.
Declaration
func hardSigmoid(alpha: Float, beta: Float) -> BNNSGraph.Builder.Tensor<T>Parameters
- alpha:
The
alphavalue. - beta:
The
betavalue.
Adds a hard sigmoid activation operation to the current graph.
func hardSigmoid(alpha: Float, beta: Float) -> BNNSGraph.Builder.Tensor<T>The alpha value.
The beta value.