






from ...configuration_utils import PretrainedConfig
from ...utils import logging


A										=      logging.get_logger(__name__)

A										=      {
    'facebook/regnet-y-040': 'https://huggingface.co/facebook/regnet-y-040/blob/main/config.json',
}


class 				__a				(	__A    ):





		'''simple docstring'''



		UpperCAmelCase__   :					str					     =    """regnet"""
		UpperCAmelCase__   :					Optional[int]					     =    ["""x""", """y"""]


		def __init__(    self			,     UpperCamelCase__=3			,     UpperCamelCase__=32			,     UpperCamelCase__=[128, 192, 512, 1088]			,     UpperCamelCase__=[2, 6, 12, 2]			,     UpperCamelCase__=64			,     UpperCamelCase__="y"			,     UpperCamelCase__="relu"			,     **UpperCamelCase__			,     ):
						super().__init__(**UpperCamelCase__							)
						if layer_type not in self.layer_types:
										raise ValueError(F'''layer_type={layer_type} is not one of {','.join(self.layer_types							)}'''							)
						SCREAMING_SNAKE_CASE_ :						Union[str, Any]    				= num_channels
						SCREAMING_SNAKE_CASE_ :						Any    				= embedding_size
						SCREAMING_SNAKE_CASE_ :						Tuple    				= hidden_sizes
						SCREAMING_SNAKE_CASE_ :						Dict    				= depths
						SCREAMING_SNAKE_CASE_ :						List[Any]    				= groups_width
						SCREAMING_SNAKE_CASE_ :						Dict    				= layer_type
						SCREAMING_SNAKE_CASE_ :						List[str]    				= hidden_act
						# always downsample in the first stage
						SCREAMING_SNAKE_CASE_ :						List[str]    				= True







def        _lowerCamelCase(      lowerCAmelCase__					:		int = 99_8001   ):





				'''simple docstring'''







				for number in range(n - 1     ,     9999     ,     -1   ):
								SCREAMING_SNAKE_CASE_ :						int    				= str(lowerCAmelCase__   )

								# checks whether 'str_number' is a palindrome.
								if str_number == str_number[::-1]:
												SCREAMING_SNAKE_CASE_ :						str    				= 999

												# if 'number' is a product of two 3-digit numbers
												# then number is the answer otherwise fetch next number.
												while divisor != 99:
																if (number % divisor == 0) and (len(str(number // divisor   )   ) == 3.0):
																				return number
																divisor -= 1
				raise ValueError('That number is larger than our acceptable range.'   )


if __name__ == "__main__":
				print(f"""{solution() = }""")