



"""simple docstring"""






def 	snake_case_  (				A_ :		str						):


       '''simple docstring'''





       assert column_title.isupper()
       _lowerCamelCase						:    Any         =			0
       _lowerCamelCase						:    Dict         =			len(A_						) - 1
       _lowerCamelCase						:    List[Any]         =			0

       while index >= 0:
              _lowerCamelCase						:    Optional[Any]         =			(ord(column_title[index]						) - 64) * pow(26,    A_						)
              answer += value
              power += 1
              index -= 1

       return answer


if __name__ == "__main__":
   from doctest import testmod

   testmod()







"""simple docstring"""






from torch import nn






class 	__snake_case	(     nn.Module):




  def __init__(			self					:						Optional[Any]						, __lowerCAmelCase					:						Dict						, __lowerCAmelCase					:						str		):






         """simple docstring"""






         super().__init__()
         _lowerCamelCase						:    List[str]         =			class_size
         _lowerCamelCase						:    List[str]         =			embed_size
         # self.mlp1 = nn.Linear(embed_size, embed_size)
         # self.mlp2 = (nn.Linear(embed_size, class_size))
         _lowerCamelCase						:    Optional[int]         =			nn.Linear(__lowerCAmelCase						, __lowerCAmelCase		)




  def 						SCREAMING_SNAKE_CASE    (			self					:						List[Any]						, __lowerCAmelCase					:						Tuple		):






         """simple docstring"""






         _lowerCamelCase						:    Optional[Any]         =			self.mlp(__lowerCAmelCase		)
         return logits


