tf.keras.backend.abs

TensorFlow 2 version View source on GitHub

Element-wise absolute value.

x Tensor or variable.

A tensor.