




'''simple docstring'''





class     UpperCamelCase					:



  def __init__( self   ):







      '''simple docstring'''


      _a							:       Dict       					=			[]
      _a							:       Optional[int]       					=			0
      _a							:       List[Any]       					=			0



  def __str__( self   ):







      '''simple docstring'''


      _a							:       Union[str, Any]       					=			"""<""" + str(self.entries   )[1:-1] + """>"""
      return printed



  def 						a_       ( self		,    __lowerCAmelCase   ):







      '''simple docstring'''


      self.entries.append(__lowerCAmelCase   )
      _a							:       int       					=			self.length + 1



  def 						a_       ( self   ):







      '''simple docstring'''


      _a							:       Optional[Any]       					=			self.length - 1
      _a							:       str       					=			self.entries[self.front]
      # self.front-=1
      # self.entries = self.entries[self.front:]
      _a							:       Tuple       					=			self.entries[1:]
      return dequeued



  def 						a_       ( self		,    __lowerCAmelCase   ):







      '''simple docstring'''


      for _ in range(__lowerCAmelCase   ):
          self.put(self.get()   )



  def 						a_       ( self   ):







      '''simple docstring'''


      return self.entries[0]



  def 						a_       ( self   ):







      '''simple docstring'''


      return self.length








'''simple docstring'''





from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_torch_available,
    is_vision_available,
)


a		:  Dict   			=			{
    '''configuration_mobilevitv2''': [
        '''MOBILEVITV2_PRETRAINED_CONFIG_ARCHIVE_MAP''',
        '''MobileViTV2Config''',
        '''MobileViTV2OnnxConfig''',
    ],
}


try:
  if not is_torch_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  a		:  List[str]   			=			[
      '''MOBILEVITV2_PRETRAINED_MODEL_ARCHIVE_LIST''',
      '''MobileViTV2ForImageClassification''',
      '''MobileViTV2ForSemanticSegmentation''',
      '''MobileViTV2Model''',
      '''MobileViTV2PreTrainedModel''',
  ]

if TYPE_CHECKING:
  from .configuration_mobilevitva import (
      MOBILEVITV2_PRETRAINED_CONFIG_ARCHIVE_MAP,
      MobileViTVaConfig,
      MobileViTVaOnnxConfig,
  )

  try:
    if not is_torch_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .modeling_mobilevitva import (
        MOBILEVITV2_PRETRAINED_MODEL_ARCHIVE_LIST,
        MobileViTVaForImageClassification,
        MobileViTVaForSemanticSegmentation,
        MobileViTVaModel,
        MobileViTVaPreTrainedModel,
    )

else:
  import sys

  a		:  Dict   			=			_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)


