

import warnings

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


__lowercase     : str       =						logging.get_logger(__name__)



class 						_A     (				snake_case				):





  '''simple docstring'''



  def __init__(  self   ,SCREAMING_SNAKE_CASE_=None   ,**SCREAMING_SNAKE_CASE_    ):

      '''simple docstring'''
      warnings.warn(
          """`SageMakerTrainer` is deprecated and will be removed in v5 of Transformers. You can use `Trainer` """
          """instead."""   ,SCREAMING_SNAKE_CASE_   ,)
      super().__init__(args=SCREAMING_SNAKE_CASE_   ,**SCREAMING_SNAKE_CASE_    )





def  __lowerCamelCase					( _lowercase			)       ->      list:
     UpperCamelCase						    =					len(_lowercase			)
     for _ in range(_lowercase			):
          for i in range(_ % 2						,     arr_size - 1						,     2			):
               if arr[i + 1] < arr[i]:
                    UpperCamelCase    ,		UpperCamelCase						    =					arr[i + 1], arr[i]

     return arr


if __name__ == "__main__":
 _snake_case      = list(range(10, 0, -1))
 print(F"Original: {arr}. Sorted: {odd_even_transposition(arr)}")


