tf.math.maximum

Returns the max of x and y (i.e. x > y ? x : y) element-wise.

tf.math.maximum(
    x, y, name=None
)

NOTE: math.maximum supports broadcasting. More about broadcasting here

Args:

Returns:

A Tensor. Has the same type as x.