TensorFlow 2.0 Beta is available Learn more

tf.keras.activations.linear

TensorFlow 2.0 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.