




'''simple docstring'''







def 						_A      ( UpperCAmelCase = "The quick brown fox jumps over the lazy dog"      ,):






   '''simple docstring'''







   A__       =     set()

   # Replace all the whitespace in our sentence
   A__       =     input_str.replace(' '      ,''						)
   for alpha in input_str:
      if "a" <= alpha.lower() <= "z":
         frequency.add(alpha.lower()						)
   return len(UpperCAmelCase						) == 26







def 						_A      ( UpperCAmelCase = "The quick brown fox jumps over the lazy dog"      ,):






   '''simple docstring'''







   A__       =     [False] * 26
   for char in input_str:
      if char.islower():
         A__       =     True
      elif char.isupper():
         A__       =     True
   return all(UpperCAmelCase						)







def 						_A      ( UpperCAmelCase = "The quick brown fox jumps over the lazy dog"      ,):






   '''simple docstring'''







   return len({char for char in input_str.lower() if char.isalpha()}						) == 26







def 						_A      ( ):






   '''simple docstring'''







   from timeit import timeit

   A__       =     'from __main__ import is_pangram, is_pangram_faster, is_pangram_fastest'
   print(timeit('is_pangram()'      ,setup=UpperCAmelCase						)						)
   print(timeit('is_pangram_faster()'      ,setup=UpperCAmelCase						)						)
   print(timeit('is_pangram_fastest()'      ,setup=UpperCAmelCase						)						)
   # 5.348480500048026, 2.6477354579837993, 1.8470395830227062
   # 5.036091582966037, 2.644472333951853,  1.8869528750656173


if __name__ == "__main__":
    import doctest

    doctest.testmod()
    benchmark()








'''simple docstring'''







from torch import nn







def 						_A      ( UpperCAmelCase						):






   '''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}"""						)


