






import numpy as np
def       snake_case_		(     lowerCAmelCase_       :						np.ndarray      ):
							return 1 / (1 + np.exp(-vector      ))
def       snake_case_		(     lowerCAmelCase_       :						np.ndarray      ):
							return vector * sigmoid(lowerCAmelCase_      )


if __name__ == "__main__":
	import doctest

	doctest.testmod()







def       snake_case_		(     lowerCAmelCase_       :						int       ,       lowerCAmelCase_       :						int      ):
							return int((input_a, input_a).count(0      ) == 0      )
def       snake_case_		(     ):
							assert and_gate(0       ,       0      ) == 0
							assert and_gate(0       ,       1      ) == 0
							assert and_gate(1       ,       0      ) == 0
							assert and_gate(1       ,       1      ) == 1


if __name__ == "__main__":
	test_and_gate()
	print(and_gate(1, 0))
	print(and_gate(0, 0))
	print(and_gate(0, 1))
	print(and_gate(1, 1))