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


lowerCAmelCase__					=				logging.get_logger(__name__)

lowerCAmelCase__					=				{
    'facebook/regnet-y-040': 'https://huggingface.co/facebook/regnet-y-040/blob/main/config.json',
}
class        a_				(		SCREAMING_SNAKE_CASE		):






 '''simple docstring'''






 UpperCAmelCase_							=      'regnet'
 UpperCAmelCase_							=      ['x', 'y']




 def __init__(    self      :						Union[str, Any]    ,					lowercase__      :						Any=3    ,					lowercase__      :						Optional[int]=32    ,					lowercase__      :						str=[128, 192, 512, 1_088]    ,					lowercase__      :						List[Any]=[2, 6, 12, 2]    ,					lowercase__      :						Union[str, Any]=64    ,					lowercase__      :						Optional[int]="y"    ,					lowercase__      :						Optional[int]="relu"    ,					**lowercase__      :						Tuple    ,					):







        '''simple docstring'''



        super().__init__(**lowercase__)
        if layer_type not in self.layer_types:
               raise ValueError(F"""layer_type={layer_type} is not one of {','.join(self.layer_types)}""")
        lowerCAmelCase__  			=      num_channels
        lowerCAmelCase__  			=      embedding_size
        lowerCAmelCase__  			=      hidden_sizes
        lowerCAmelCase__  			=      depths
        lowerCAmelCase__  			=      groups_width
        lowerCAmelCase__  			=      layer_type
        lowerCAmelCase__  			=      hidden_act
        # always downsample in the first stage
        lowerCAmelCase__  			=      True

def    __lowerCamelCase	(		lowerCAmelCase__			):
       return " ".join([word[::-1] for word in input_str.split()]			)


if __name__ == "__main__":
    import doctest

    doctest.testmod()
