


"""simple docstring"""




from torch import nn
class 					__lowerCAmelCase					(   nn.Module       ):


		'''simple docstring'''



		def __init__(  self							, _a							, _a      ):
				super().__init__()
				__a           =			class_size
				__a           =			embed_size
				# self.mlp1 = nn.Linear(embed_size, embed_size)
				# self.mlp2 = (nn.Linear(embed_size, class_size))
				__a           =			nn.Linear(a_							, a_      )





		def 			__UpperCAmelCase       (  self							, _a      ):
				# hidden_state = nn.functional.relu(self.mlp1(hidden_state))
				# hidden_state = self.mlp2(hidden_state)
				__a           =			self.mlp(a_      )
				return logits











'''simple docstring'''






from __future__ import annotations

import typing
from collections import Counter




def     snake_case_					(     lowerCAmelCase_		)->		typing.Counter[int]:





       '''simple docstring'''


       _UpperCAmelCase  :						typing.Counter[int]			     = Counter()
       for base in range(1       ,   max_perimeter + 1		):
              for perpendicular in range(lowerCAmelCase_       ,   max_perimeter + 1		):
                     _UpperCAmelCase  :						List[str]			     = (base * base + perpendicular * perpendicular) ** 0.5
                     if hypotenuse == int(lowerCAmelCase_		):
                            _UpperCAmelCase  :						Optional[Any]			     = int(base + perpendicular + hypotenuse		)
                            if perimeter > max_perimeter:
                                   continue
                            triplets[perimeter] += 1
       return triplets




def     snake_case_					(     lowerCAmelCase_ = 1000		)->		int:





       '''simple docstring'''


       _UpperCAmelCase  :						int			     = pythagorean_triple(lowerCAmelCase_		)
       return triplets.most_common(1		)[0][0]


if __name__ == "__main__":
   print(f"""Perimeter {solution()} has maximum solutions""")



