




def 						lowerCamelCase__    (		_A							):







	'''simple docstring'''





	snake_case_		    =     len(_A							)
	for _ in range(_A							):
		for i in range(_ % 2     ,	arr_size - 1     ,	2							):
			if arr[i + 1] < arr[i]:
				snake_case_    ,      snake_case_		    =     arr[i + 1], arr[i]

	return arr


if __name__ == "__main__":
		lowercase__				:     Optional[Any] 		=						list(range(10, 0, -1))
		print(f'''Original: {arr}. Sorted: {odd_even_transposition(arr)}''')






from torch import nn


def 						lowerCamelCase__    (		_A							):







	'''simple docstring'''





	if act_fn in ["swish", "silu"]:
		return nn.SiLU()
	elif act_fn == "mish":
		return nn.Mish()
	elif act_fn == "gelu":
		return nn.GELU()
	else:
		raise ValueError(f"Unsupported activation function: {act_fn}"							)
