import numpy as np






def  UpperCamelCase__					(					_lowercase    :				List[str]     )							->	Optional[int]:
  return 1 / (1 + np.exp(-vector     ))






def  UpperCamelCase__					(					_lowercase    :				str     )							->	str:
  return vector * sigmoid(_lowerCamelCase     )


if __name__ == "__main__":
    import doctest

    doctest.testmod()
'''simple docstring'''






from ....utils import logging


SCREAMING_SNAKE_CASE_	   =			logging.get_logger(__name__)




class    a (       __lowerCAmelCase				):



  """simple docstring"""







  def __init__(							self   ,    snake_case_   ,    snake_case_=None   ,    snake_case_=2048					):

    '''simple docstring'''







    __UpperCAmelCase:					List[str]		= config.__dict__
    __UpperCAmelCase:					str		= modal_hidden_size
    if num_labels:
      __UpperCAmelCase:					int		= num_labels