forward

open override fun forward(tf: Ops, input: Operand<Float>): Operand<Float>

Applies the activation functions to the input to produce the output.

Parameters

tf

TensorFlow graph API for building operations.

input

TensorFlow graph leaf node representing layer output before activation function.