code: def inverse_sigmoid(x, eps=1e-5):
      """Inverse function of sigmoid.
  
      Args:
          x (Tensor): The tensor to do the
              inverse.
          eps (float): EPS avoid numerical
              overflow. Defaults 1e-5.
      Returns:
          Tensor: The x has passed the inverse
              function of sigmoid, has same
              shape with input.
      """
      x = x.clip(min=0, max=1)
      x1 = x.clip(min=eps)
      x2 = (1 - x).clip(min=eps)
      return paddle.log(x1 / x2)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  import numpy
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddle import ParamAttr
  from ppdet.core.workspace import register
  from ..layers import MultiHeadAttention, _convert_attention_mask
  from .utils import _get_clones
  from ..initializer import linear_init_, normal_, constant_, xavier_uniform_
label_desc: Use image node_id 2 for calling a global function with example usage: inverse_sigmoid(x, eps) and returns: paddle