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
alphavalue. - beta:
The
betavalue.
Adds a scaled tanh activation operation to the current graph.
func scaledTanh(alpha: Float, beta: Float) -> BNNSGraph.Builder.Tensor<T>The alpha value.
The beta value.