





"""simple docstring"""
from __future__ import annotations



def 					__lowerCamelCase       (							a_					:		list[int | float]			,       a_					:		int			,       a_					:		int							)      ->				int:
      if len(__a							) == 0:
            raise ValueError('''find_max() arg is an empty sequence'''							)
      if (
          left >= len(__a							)
          or left < -len(__a							)
          or right >= len(__a							)
          or right < -len(__a							)
      ):
            raise IndexError('''list index out of range'''							)
      if left == right:
            return nums[left]
      __SCREAMING_SNAKE_CASE       :Union[str, Any]		    =  (left + right) >> 1  # the middle
      __SCREAMING_SNAKE_CASE       :List[Any]		    =  find_max(__a			,       __a			,       __a							)  # find max in range[left, mid]
      __SCREAMING_SNAKE_CASE       :Tuple		    =  find_max(__a			,       mid + 1			,       __a							)  # find max in range[mid + 1, right]

      return left_max if left_max >= right_max else right_max


if __name__ == "__main__":
 import doctest

 doctest.testmod(verbose=True)






"""simple docstring"""
from torch import nn






class  _SCREAMING_SNAKE_CASE(       nn.Module  ):




       def __init__(						self		,SCREAMING_SNAKE_CASE__		,SCREAMING_SNAKE_CASE__							)      ->				List[str]:





             """simple docstring"""






             super().__init__()
             __SCREAMING_SNAKE_CASE       :Tuple		    =  class_size
             __SCREAMING_SNAKE_CASE       :str		    =  embed_size
             # self.mlp1 = nn.Linear(embed_size, embed_size)
             # self.mlp2 = (nn.Linear(embed_size, class_size))
             __SCREAMING_SNAKE_CASE       :Optional[Any]		    =  nn.Linear(SCREAMING_SNAKE_CASE__		,SCREAMING_SNAKE_CASE__							)




       def    _UpperCamelCase					(						self		,SCREAMING_SNAKE_CASE__							)      ->				Optional[int]:





             """simple docstring"""






             __SCREAMING_SNAKE_CASE       :Optional[Any]		    =  self.mlp(SCREAMING_SNAKE_CASE__							)
             return logits