code: def tanh_activation_constraint(net_block, net, layer_block, layer):
      r"""
      tanh activation constraint generator.
  
      """
      return smooth_monotonic_activation_constraint(
          net_block, net, layer_block, layer, tanh_activation_function
      )
  
imports: from pyomo.environ import exp, log, tanh
label_desc: Use image node_id 6 for calling a global function with example usage: tanh_activation_constraint(net_block, net, layer_block, layer) and returns: smooth_monotonic_activation_constraint