
"""simple docstring"""



import warnings

from ..trainer import Trainer
from ..utils import logging


UpperCAmelCase__          = logging.get_logger(__name__)

class       lowerCAmelCase__				(						A_	):







     def __init__(							self			:			Optional[Any]    ,      _lowerCamelCase			:			Optional[int]=None    ,      **_lowerCamelCase			:			Optional[int]			):
       warnings.warn(
           '''`SageMakerTrainer` is deprecated and will be removed in v5 of Transformers. You can use `Trainer` '''
           '''instead.'''    ,      _lowerCamelCase    ,      )
       super().__init__(args=_lowerCamelCase    ,      **_lowerCamelCase			)





"""simple docstring"""



def 					_UpperCAmelCase      ( __lowerCamelCase   :       list ,					__lowerCamelCase   :       int = 0		)     ->					list:
  _snake_case					     =       length or len(__lowerCamelCase		)
  _snake_case					     =       False
  for i in range(length - 1		):
    if list_data[i] > list_data[i + 1]:
      _snake_case     ,					_snake_case					     =       list_data[i + 1], list_data[i]
      _snake_case					     =       True

  return list_data if not swapped else bubble_sort(__lowerCamelCase ,					length - 1		)


if __name__ == "__main__":
 import doctest

 doctest.testmod()



