parameters: (numerator, denominator, name="value")
return_statement: return math_ops.select(
        math_ops.greater(denominator, 0),
        math_ops.div(numerator, math_ops.select(
            math_ops.equal(denominator, 0),
            array_ops.ones_like(denominator), denominator)),
        array_ops.zeros_like(numerator),
        name=name)
docstring: Computes a safe divide which returns 0 if the denominator is zero.
  
    Note that the function contains an additional conditional check that is
    necessary for avoiding situations where the loss is zero causing NaNs to
    creep into the gradient computation.
  
    Args:
      numerator: An arbitrary `Tensor`.
      denominator: A `Tensor` whose shape matches `numerator` and whose values are
        assumed to be non-negative.
      name: An optional name for the returned op.
  
    Returns:
      The element-wise value of the numerator divided by the denominator.
docstring_summary: Computes a safe divide which returns 0 if the denominator is zero.
docstring_tokens: Computes a safe divide which returns 0 if the denominator is zero .
function: def _safe_div(numerator, denominator, name="value"):
    """Computes a safe divide which returns 0 if the denominator is zero.
  
    Note that the function contains an additional conditional check that is
    necessary for avoiding situations where the loss is zero causing NaNs to
    creep into the gradient computation.
  
    Args:
      numerator: An arbitrary `Tensor`.
      denominator: A `Tensor` whose shape matches `numerator` and whose values are
        assumed to be non-negative.
      name: An optional name for the returned op.
  
    Returns:
      The element-wise value of the numerator divided by the denominator.
    """
    return math_ops.select(
        math_ops.greater(denominator, 0),
        math_ops.div(numerator, math_ops.select(
            math_ops.equal(denominator, 0),
            array_ops.ones_like(denominator), denominator)),
        array_ops.zeros_like(numerator),
        name=name)
function_tokens: def _safe_div ( numerator , denominator , name = "value" ) : return math_ops . select ( math_ops . greater ( denominator , 0 ) , math_ops . div ( numerator , math_ops . select ( math_ops . equal ( denominator , 0 ) , array_ops . ones_like ( denominator ) , denominator ) ) , array_ops . zeros_like ( numerator ) , name = name )