Contents

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 alpha value.

  • beta:

    The beta value.