()
return Fn('Sigmoid', lambda x: fastmath.expit(x))
r"""Returns a layer that computes the sigmoid function.

  .. math::
      f(x) = \frac{1}{1 + e^{-x}}
r"""Returns a layer that computes the sigmoid function.
r Returns a layer that computes the sigmoid function .
def Sigmoid():
  r"""Returns a layer that computes the sigmoid function.

  .. math::
      f(x) = \frac{1}{1 + e^{-x}}
  """
  return Fn('Sigmoid', lambda x: fastmath.expit(x))
def Sigmoid ( ) : return Fn ( 'Sigmoid' , lambda x : fastmath . expit ( x ) )