



import warnings

from ...utils import logging
from .image_processing_levit import LevitImageProcessor


A__     				=	logging.get_logger(__name__)





class  __lowerCAmelCase			(					lowerCamelCase__	):




				def __init__(							self						,    *_snake_case						,    **_snake_case		):



									"""simple docstring"""





									warnings.warn(
									    """The class LevitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
									    """ use LevitImageProcessor instead."""						,    _snake_case						,    )
									super().__init__(*_snake_case						,    **_snake_case		)








from math import exp


def 		_UpperCAmelCase    (				snake_case      ):





					"""simple docstring"""

					return 8 * x - 2 * exp(-x      )


def 		_UpperCAmelCase    (				snake_case     ,						snake_case     ,						snake_case      ):





					"""simple docstring"""

					_lowerCAmelCase      =   lower_bound
					_lowerCAmelCase      =   upper_bound
					for _ in range(0     ,						snake_case      ):
										_lowerCAmelCase     ,     _lowerCAmelCase      =   xa, xa - (f(snake_case      ) * (xa - xa)) / (f(snake_case      ) - f(snake_case      ))
					return xa


if __name__ == "__main__":
	print(f"Example: {secant_method(1, 3, 2)}")



