code: def sigmoid_activation_function(x):
      r"""
      Applies the sigmoid function:
  
      .. math::
  
          \begin{align*}
              y=\frac{1}{1+\exp(-x)}
          \end{align*}
  
      """
      return 1 / (1 + exp(-x))
  
imports: from pyomo.environ import exp, log, tanh
label_desc: Use image node_id 2 for calling a global function with example usage: sigmoid_activation_function(x) and returns: unknown