()
return Fn('Softplus', lambda x: jnp.logaddexp(x, 0.))
r"""Returns a layer that computes the softplus function.

  .. math::
      f(x) = \ln(e^x + 1)
r"""Returns a layer that computes the softplus function.
r Returns a layer that computes the softplus function .
def Softplus():
  r"""Returns a layer that computes the softplus function.

  .. math::
      f(x) = \ln(e^x + 1)
  """
  return Fn('Softplus', lambda x: jnp.logaddexp(x, 0.))
def Softplus ( ) : return Fn ( 'Softplus' , lambda x : jnp . logaddexp ( x , 0. ) )