


"""simple docstring"""




def 			a_   (  lowercase__   :str    ):
							__lowerCamelCase        =			__lowerCamelCase        =			0
							for letter in data:
														__lowerCamelCase        =			(hash_ << 4) + ord(lowercase__    )
														__lowerCamelCase        =			hash_ & 0xF0_000_000
														if x != 0:
																					hash_ ^= x >> 24
														hash_ &= ~x
							return hash_


if __name__ == "__main__":
					import doctest

					doctest.testmod()








"""simple docstring"""




import numpy as np





def 			a_   (  lowercase__   :List[str]    ):
			__lowerCamelCase        =			np.exp(lowercase__    )

			# Add up the all the exponentials
			__lowerCamelCase        =			np.sum(lowercase__    )

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

			return softmax_vector


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




