parameters: (x, name=None)
docstring: Computes sigmoid of `x` element-wise.
  
    Specifically, `y = 1 / (1 + exp(-x))`.
  
    Args:
      x: A Tensor with type `float32`, `float64`, `int32`, `complex64`, `int64`,
        or `qint32`.
      name: A name for the operation (optional).
  
    Returns:
      A Tensor with the same type as `x` if `x.dtype != qint32`
        otherwise the return type is `quint8`.
  
    @compatibility(numpy)
    Equivalent to np.scipy.special.expit
    @end_compatibility
docstring_summary: Computes sigmoid of `x` element-wise.
docstring_tokens: Computes sigmoid of x element - wise .
function: def sigmoid(x, name=None):
    """Computes sigmoid of `x` element-wise.
  
    Specifically, `y = 1 / (1 + exp(-x))`.
  
    Args:
      x: A Tensor with type `float32`, `float64`, `int32`, `complex64`, `int64`,
        or `qint32`.
      name: A name for the operation (optional).
  
    Returns:
      A Tensor with the same type as `x` if `x.dtype != qint32`
        otherwise the return type is `quint8`.
  
    @compatibility(numpy)
    Equivalent to np.scipy.special.expit
    @end_compatibility
    """
    with ops.name_scope(name, "Sigmoid", [x]) as name:
      x = ops.convert_to_tensor(x, name="x")
      return gen_math_ops._sigmoid(x, name=name)
function_tokens: def sigmoid ( x , name = None ) : with ops . name_scope ( name , "Sigmoid" , [ x ] ) as name : x = ops . convert_to_tensor ( x , name = "x" ) return gen_math_ops . _sigmoid ( x , name = name )