


'''simple docstring'''




from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_sentencepiece_available,
    is_tokenizers_available,
    is_torch_available,
)


UpperCAmelCase_      :		int          =		{}

try:
 if not is_sentencepiece_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 UpperCAmelCase_      :		str          =		["NllbTokenizer"]

try:
 if not is_tokenizers_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 UpperCAmelCase_      :		str          =		["NllbTokenizerFast"]


if TYPE_CHECKING:
 try:
  if not is_sentencepiece_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .tokenization_nllb import NllbTokenizer

 try:
  if not is_tokenizers_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .tokenization_nllb_fast import NllbTokenizerFast

else:
 import sys

 UpperCAmelCase_      :		Tuple          =		_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)






'''simple docstring'''




import warnings

from ...utils import logging
from .image_processing_perceiver import PerceiverImageProcessor


UpperCAmelCase_      :		Tuple          =		logging.get_logger(__name__)







class 					a			(				snake_case__  ):
 '''simple docstring'''




 def __init__(    self		,      *lowerCamelCase_		,      **lowerCamelCase_      )      ->    None:
    warnings.warn(
        'The class PerceiverFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
        ' Please use PerceiverImageProcessor instead.'		,      lowerCamelCase_		,      )
    super().__init__(*lowerCamelCase_		,      **lowerCamelCase_      )


