




"""simple docstring"""


import numpy as np


def    UpperCAmelCase__			(snake_case__				:   int       ):
  """simple docstring"""

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


def    UpperCAmelCase__			(snake_case__				:   Union[str, Any]       ):
  """simple docstring"""

  return vector * sigmoid(_UpperCamelCase       )


if __name__ == "__main__":
     import doctest

     doctest.testmod()










from pathlib import Path

import fire
def 		lowercase__  (				_UpperCamelCase       ,							_UpperCamelCase       ,							_UpperCamelCase) ->			Optional[int]:
      """simple docstring"""

      UpperCamelCase					       =  Path(_UpperCamelCase)
      UpperCamelCase					       =  Path(_UpperCamelCase)
      dest_dir.mkdir(exist_ok=_UpperCamelCase)
      for path in src_dir.iterdir():
            UpperCamelCase					       =  [x.rstrip() for x in list(path.open().readlines())][:n]
            UpperCamelCase					       =  dest_dir.joinpath(path.name)
            print(_UpperCamelCase)
            dest_path.open('w').write('\n'.join(_UpperCamelCase))


if __name__ == "__main__":
       fire.Fire(minify)



