




from typing import Optional, Union

import torch
from torch import nn

from ...configuration_utils import ConfigMixin, register_to_config
from ...models.modeling_utils import ModelMixin







class        __lowerCAmelCase					(			__magic_name__     ,							__magic_name__					):

			"""simple docstring"""







			@register_to_config
			def __init__( self     ,		lowerCamelCase__ = 768     ,		)       -> int:



							'''simple docstring'''
							super().__init__()

							__lowerCamelCase									=       nn.Parameter(torch.zeros(1     ,		lowerCamelCase__				)				)
							__lowerCamelCase									=       nn.Parameter(torch.ones(1     ,		lowerCamelCase__				)				)


			def  lowercase_       ( self     ,		lowerCamelCase__ = None     ,		lowerCamelCase__ = None     ,		)       -> str:



							'''simple docstring'''
							__lowerCamelCase									=       nn.Parameter(self.mean.to(lowerCamelCase__				).to(lowerCamelCase__				)				)
							__lowerCamelCase									=       nn.Parameter(self.std.to(lowerCamelCase__				).to(lowerCamelCase__				)				)
							return self


			def  lowercase_       ( self     ,		lowerCamelCase__				)       -> str:



							'''simple docstring'''
							__lowerCamelCase									=       (embeds - self.mean) * 1.0 / self.std
							return embeds






			def  lowercase_       ( self     ,		lowerCamelCase__				)       -> Tuple:



							'''simple docstring'''
							__lowerCamelCase									=       (embeds * self.std) + self.mean
							return embeds








def      lowerCamelCase_						(			)	->			List[str]:





				"""simple docstring"""


				__lowerCamelCase									=       0
				for i in range(1					,	1001 ):
								total += i**i
				return str(UpperCamelCase__ )[-10:]


if __name__ == "__main__":
					print(solution())


