Missed TensorFlow World? Check out the recap. Learn more

tf.keras.backend.maximum

TensorFlow 2.0 version View source on GitHub

Element-wise maximum of two tensors.

Aliases:

  • tf.compat.v1.keras.backend.maximum
  • tf.compat.v2.keras.backend.maximum
tf.keras.backend.maximum(
    x,
    y
)

Arguments:

  • x: Tensor or variable.
  • y: Tensor or variable.

Returns:

A tensor.