


'''simple docstring'''


# Function to print upper half of diamond (pyramid)









def      snake_case_  (    SCREAMING_SNAKE_CASE__	):







				"""simple docstring"""





				for i in range(0				, lowerCAmelCase_	):
								for _ in range(0				, n - i - 1	):  # printing spaces
												print(""" """				, end=""""""	)
								for _ in range(0				, i + 1	):  # printing stars
												print("""* """				, end=""""""	)
								print()







def      snake_case_  (    SCREAMING_SNAKE_CASE__	):







				"""simple docstring"""





				for i in range(lowerCAmelCase_				, 0				, -1	):
								for _ in range(lowerCAmelCase_				, 0				, -1	):  # printing stars
												print("""* """				, end=""""""	)
								print()
								for _ in range(n - i + 1				, 0				, -1	):  # printing spaces
												print(""" """				, end=""""""	)







def      snake_case_  (    SCREAMING_SNAKE_CASE__	):







				"""simple docstring"""





				if n <= 0:
								print("""       ...       ....        nothing printing :("""	)
								return
				floyd(lowerCAmelCase_	)  # upper half
				reverse_floyd(lowerCAmelCase_	)  # lower half


if __name__ == "__main__":
				print(r'| /\ | |- |  |-  |--| |\  /| |-')
				print(r'|/  \| |- |_ |_  |__| | \/ | |_')
				UpperCAmelCase_						:  str				  =						1
				while K:
								UpperCAmelCase_						:  str				  =						int(input('enter the number and , and see the magic : '))
								print()
								pretty_print(user_number)
								UpperCAmelCase_						:  Dict				  =						int(input('press 0 to exit... and 1 to continue...'))

				print('Good Bye...')











from torch import nn


def 							__snake_case							(    lowerCAmelCase_	)				->						Tuple:
    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}'''	)
