




"""simple docstring"""




from typing import TYPE_CHECKING

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


lowerCamelCase__			:       Union[str, Any]         =							{
    'configuration_encodec': [
        'ENCODEC_PRETRAINED_CONFIG_ARCHIVE_MAP',
        'EncodecConfig',
    ],
    'feature_extraction_encodec': ['EncodecFeatureExtractor'],
}

try:
   if not is_torch_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   lowerCamelCase__			:       Any         =							[
       'ENCODEC_PRETRAINED_MODEL_ARCHIVE_LIST',
       'EncodecModel',
       'EncodecPreTrainedModel',
   ]

if TYPE_CHECKING:
   from .configuration_encodec import (
       ENCODEC_PRETRAINED_CONFIG_ARCHIVE_MAP,
       EncodecConfig,
   )
   from .feature_extraction_encodec import EncodecFeatureExtractor

   try:
      if not is_torch_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .modeling_encodec import (
          ENCODEC_PRETRAINED_MODEL_ARCHIVE_LIST,
          EncodecModel,
          EncodecPreTrainedModel,
      )

else:
   import sys

   lowerCamelCase__			:       Optional[Any]         =							_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)





import random
from typing import Any

def  UpperCAmelCase_							(				__UpperCAmelCase						:     list							) ->			list[Any]:
      for _ in range(len(__UpperCAmelCase							)							):
            SCREAMING_SNAKE_CASE_     						=      random.randint(0      ,      len(__UpperCAmelCase							) - 1							)
            SCREAMING_SNAKE_CASE_     						=      random.randint(0      ,      len(__UpperCAmelCase							) - 1							)
            SCREAMING_SNAKE_CASE_						,			SCREAMING_SNAKE_CASE_     						=      data[b], data[a]
      return data


if __name__ == "__main__":
   lowerCamelCase__			:       Union[str, Any]         =							[0, 1, 2, 3, 4, 5, 6, 7]
   lowerCamelCase__			:       Optional[int]         =							['python', 'says', 'hello', '!']
   print('Fisher-Yates Shuffle:')
   print('List', integers, strings)
   print('FY Shuffle', fisher_yates_shuffle(integers), fisher_yates_shuffle(strings))