tf.keras.activations.linear

TensorFlow 1 version View source on GitHub

Linear activation function.

Aliases: tf.compat.v1.keras.activations.linear, tf.compat.v2.keras.activations.linear

tf.keras.activations.linear(x)

Arguments:

  • x: Input tensor.

Returns:

The linear activation: x.