



"""simple docstring"""

from torch import nn




class  _UpperCAmelCase (    nn.Module):

	def __init__(  self	: Union[str, Any]						,  lowercase_	: Optional[Any]						,  lowercase_	: Dict       ):
					super().__init__()
					snake_case_				:  Any       =			class_size
					snake_case_				:  Optional[int]       =			embed_size
					# self.mlp1 = nn.Linear(embed_size, embed_size)
					# self.mlp2 = (nn.Linear(embed_size, class_size))
					snake_case_				:  List[str]       =			nn.Linear(__lowerCamelCase						,  __lowerCamelCase       )






	def 		_snake_case      (  self	: str						,  lowercase_	: int       ):
					snake_case_				:  Any       =			self.mlp(__lowerCamelCase       )
					return logits










"""simple docstring"""

def __lowercase    (							_a	,    _a					):
    snake_case_				:  str       =			[0 for i in range(r + 1					)]
    # nc0 = 1
    snake_case_				:  int       =			1
    for i in range(1	,    n + 1					):
        # to compute current row from previous row.
        snake_case_				:  Any       =			min(_a	,    _a					)
        while j > 0:
            c[j] += c[j - 1]
            j -= 1
    return c[r]






print(binomial_coefficient(n=10, r=5))





