tf.keras.ops.divide_no_nan

Safe element-wise division which returns 0 where the denominator is 0.

x1 First input tensor.
x2 Second input tensor.

The quotient x1/x2, element-wise, with zero where x2 is zero.