tf.math.xdivy

Returns 0 if x == 0, and x / y otherwise, elementwise.

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

Args:

Returns:

A Tensor. Has the same type as x.