
from torch import nn







def 						_snake_case(  SCREAMING_SNAKE_CASE__    )			->   str:
       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}"    )


def 						_snake_case(  SCREAMING_SNAKE_CASE__    )			->   int:
       assert (
           isinstance(SCREAMING_SNAKE_CASE__ ,     SCREAMING_SNAKE_CASE__    ) and number_of_steps > 0
       ), f"number_of_steps needs to be positive integer, your input {number_of_steps}"
       if number_of_steps == 1:
              return 1
       lowercase     ,      lowercase							:					Tuple	     =				1, 1
       for _ in range(number_of_steps - 1    ):
              lowercase     ,      lowercase							:					str	     =				current + previous, current
       return current


if __name__ == "__main__":
  import doctest

  doctest.testmod()
