Contents

scaledTanh(alpha:beta:)

Adds a scaled tanh activation operation to the current graph.

Declaration

func scaledTanh(alpha: Float, beta: Float) -> BNNSGraph.Builder.Tensor<T>

Parameters

  • alpha:

    The alpha value.

  • beta:

    The beta value.