





'''simple docstring'''


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


_SCREAMING_SNAKE_CASE									=				logging.get_logger(__name__)

_SCREAMING_SNAKE_CASE									=				{
    "google/canine-s": "https://huggingface.co/google/canine-s/resolve/main/config.json",
    # See all CANINE models at https://huggingface.co/models?filter=canine
}

class  lowerCAmelCase_		(		__magic_name__		):
 __lowerCamelCase    :				Any								=       "canine"




 def __init__(						self      ,  _lowerCAmelCase=768      ,  _lowerCAmelCase=12      ,  _lowerCAmelCase=12      ,  _lowerCAmelCase=3072      ,  _lowerCAmelCase="gelu"      ,  _lowerCAmelCase=0.1      ,  _lowerCAmelCase=0.1      ,  _lowerCAmelCase=16384      ,  _lowerCAmelCase=16      ,  _lowerCAmelCase=0.02      ,  _lowerCAmelCase=1E-12      ,  _lowerCAmelCase=0      ,  _lowerCAmelCase=0XE0_00      ,  _lowerCAmelCase=0XE0_01      ,  _lowerCAmelCase=4      ,  _lowerCAmelCase=4      ,  _lowerCAmelCase=8      ,  _lowerCAmelCase=16384      ,  _lowerCAmelCase=128      ,  **_lowerCAmelCase      ,  )     ->				List[Any]:
     super().__init__(pad_token_id=_lowerCAmelCase      ,  bos_token_id=_lowerCAmelCase      ,  eos_token_id=_lowerCAmelCase      ,  **_lowerCAmelCase		)

     _lowerCAmelCase						      =   max_position_embeddings
     _lowerCAmelCase						      =   hidden_size
     _lowerCAmelCase						      =   num_hidden_layers
     _lowerCAmelCase						      =   num_attention_heads
     _lowerCAmelCase						      =   intermediate_size
     _lowerCAmelCase						      =   hidden_act
     _lowerCAmelCase						      =   hidden_dropout_prob
     _lowerCAmelCase						      =   attention_probs_dropout_prob
     _lowerCAmelCase						      =   initializer_range
     _lowerCAmelCase						      =   type_vocab_size
     _lowerCAmelCase						      =   layer_norm_eps

     # Character config:
     _lowerCAmelCase						      =   downsampling_rate
     _lowerCAmelCase						      =   upsampling_kernel_size
     _lowerCAmelCase						      =   num_hash_functions
     _lowerCAmelCase						      =   num_hash_buckets
     _lowerCAmelCase						      =   local_transformer_stride









'''simple docstring'''


import warnings

from ...utils import logging
from .image_processing_yolos import YolosImageProcessor


_SCREAMING_SNAKE_CASE									=				logging.get_logger(__name__)

class  lowerCAmelCase_		(		__magic_name__		):




 def __init__(						self      ,  *_lowerCAmelCase      ,  **_lowerCAmelCase		)     ->				None:
     warnings.warn(
         "The class YolosFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
         " use YolosImageProcessor instead."      ,  _lowerCAmelCase      ,  )
     super().__init__(*_lowerCAmelCase      ,  **_lowerCAmelCase		)


