

def      snake_case__							(  lowerCAmelCase_     ):





     """simple docstring"""







     return 1 if input_a == 0 else 0







def      snake_case__							(  ):





     """simple docstring"""







     assert not_gate(0     ) == 1
     assert not_gate(1     ) == 0


if __name__ == "__main__":
 print(not_gate(0))
 print(not_gate(1))




import numpy as np







def      snake_case__							(  lowerCAmelCase_     ):





     """simple docstring"""







     SCREAMING_SNAKE_CASE 		=np.exp(lowerCAmelCase_     )

     # Add up the all the exponentials
     SCREAMING_SNAKE_CASE 		=np.sum(lowerCAmelCase_     )

     # Divide every exponent by the sum of all exponents
     SCREAMING_SNAKE_CASE 		=exponent_vector / sum_of_exponents

     return softmax_vector


if __name__ == "__main__":
 print(softmax((0,)))

