Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.keras.backend.abs

TensorFlow 1 version View source on GitHub

Element-wise absolute value.

tf.keras.backend.abs(
    x
)

Arguments:

  • x: Tensor or variable.

Returns:

A tensor.