Missed TensorFlow World? Check out the recap. Learn more

tf.keras.backend.abs

TensorFlow 2.0 version View source on GitHub

Element-wise absolute value.

Aliases:

  • tf.compat.v1.keras.backend.abs
  • tf.compat.v2.keras.backend.abs
tf.keras.backend.abs(x)

Arguments:

  • x: Tensor or variable.

Returns:

A tensor.