apply

open fun apply(tf: Ops, features: Operand<Float>, name: String = ""): Operand<Float>

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

Parameters

tf

TensorFlow graph API for building operations.

features

TensorFlow graph leaf node representing layer output before activation function.

name

Activation name for TensorFlow graph building purposes.

abstract fun apply(tf: Ops, features: Operand<Float>): Operand<Float>

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

Parameters

tf

TensorFlow graph API for building operations.

features

TensorFlow graph leaf node representing layer output before activation function.