



"""simple docstring"""
def  lowerCamelCase_						(UpperCamelCase__		:		Optional[int]     ,       UpperCamelCase__		:		Dict = 0							):
    _UpperCAmelCase							:  Optional[Any]											=    length or len(lowerCamelCase_							)
    _UpperCAmelCase							:  Any											=    False
    for i in range(length - 1							):
        if list_data[i] > list_data[i + 1]:
            _UpperCAmelCase							,				_UpperCAmelCase							:  Optional[int]											=    list_data[i + 1], list_data[i]
            _UpperCAmelCase							:  Dict											=    True

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


if __name__ == "__main__":
  import doctest

  doctest.testmod()










import warnings


warnings.warn(
    'memory_utils has been reorganized to utils.memory. Import `find_executable_batchsize` from the main `__init__`: '
    '`from accelerate import find_executable_batch_size` to avoid this warning.',
    FutureWarning,
)




