Missed TensorFlow World? Check out the recap. Learn more

tf.keras.activations.linear

TensorFlow 1 version View source on GitHub

Linear activation function.

Aliases:

tf.keras.activations.linear(x)

Arguments:

  • x: Input tensor.

Returns:

The linear activation: x.