


'''simple docstring'''

import numpy as np






def __UpperCamelCase   (			__lowerCamelCase		: np.ndarray				)      ->     np.ndarray:







     '''simple docstring'''






     return 1 / (1 + np.exp(-vector				))






def __UpperCamelCase   (			__lowerCamelCase		: np.ndarray				)      ->     np.ndarray:







     '''simple docstring'''






     return vector * sigmoid(__lowerCamelCase				)


if __name__ == "__main__":
   import doctest

   doctest.testmod()





'''simple docstring'''

lowercase__				     =		65_521






def __UpperCamelCase   (			__lowerCamelCase		: str				)      ->     int:







     '''simple docstring'''






     _a						=		1
     _a						=		0
     for plain_chr in plain_text:
          _a						=		(a + ord(__lowerCamelCase				)) % MOD_ADLER
          _a						=		(b + a) % MOD_ADLER
     return (b << 16) | a

