





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


snake_case 				=       logging.get_logger(__name__)





class 				A_				(      UpperCAmelCase	):







       """simple docstring"""





       SCREAMING_SNAKE_CASE_      : Any      =  '''timm_backbone'''







       def __init__(    self	:	Tuple						,__A	:	List[Any]=None						,__A	:	Any=3						,__A	:	Dict=True						,__A	:	Optional[int]=True						,__A	:	Dict=None						,**__A	:	str						,)						->					Optional[Any]:
         super().__init__(**__A  )
         _lowercase							= backbone
         _lowercase							= num_channels
         _lowercase							= features_only
         _lowercase							= use_pretrained_backbone
         _lowercase							= True
         _lowercase							= out_indices if out_indices is not None else (-1,)






def 							SCREAMING_SNAKE_CASE__       (  snake_case__  :str			,							snake_case__  :int     )      ->						list[str]:
  return [sentence[i : i + ngram_size] for i in range(len(snake_case__     ) - ngram_size + 1     )]


if __name__ == "__main__":
      from doctest import testmod

      testmod()