

import warnings

from ...utils import logging
from .image_processing_videomae import VideoMAEImageProcessor


a__				=		logging.get_logger(__name__)

class 				UpperCAmelCase_		(			__lowercase   ):
							"""simple docstring"""







							def __init__(			self       ,							*_a       ,							**_a       )    ->    None:
												warnings.warn(
												    '''The class VideoMAEFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
												    ''' Please use VideoMAEImageProcessor instead.'''       ,							_a       ,							)
												super().__init__(*_a       ,							**_a       )






def    __UpperCAmelCase (	__a      :			float	)			->     float:

					"""simple docstring"""

					return 10 - x * x



def    __UpperCAmelCase (	__a      :			float		,__a      :			float	)			->     float:

					"""simple docstring"""

					if equation(__a	) * equation(__a	) >= 0:
										raise ValueError('''Wrong space!'''	)

					_a	:    Dict         =		a
					while (b - a) >= 0.01:
										# Find middle point
										_a	:    Any         =		(a + b) / 2
										# Check if middle point is root
										if equation(__a	) == 0.0:
															break
										# Decide the side to repeat the steps
										if equation(__a	) * equation(__a	) < 0:
															_a	:    str         =		c
										else:
															_a	:    Union[str, Any]         =		c
					return c


if __name__ == "__main__":
			import doctest

			doctest.testmod()

			print(bisection(-2, 5))
			print(bisection(0, 6))



