





'''simple docstring'''

import warnings

from ...utils import logging
from .image_processing_perceiver import PerceiverImageProcessor


lowercase_					= logging.get_logger(__name__)


class 					a_     (				snake_case_       ):

    '''simple docstring'''


    def __init__(		self ,		*A ,		**A       )		->   None:
        warnings.warn(
            """The class PerceiverFeatureExtractor is deprecated and will be removed in version 5 of Transformers."""
            """ Please use PerceiverImageProcessor instead.""" ,		A ,		)
        super().__init__(*A ,		**A       )











'''simple docstring'''







from collections.abc import Sequence





def  SCREAMING_SNAKE_CASE_       (UpperCamelCase				,			UpperCamelCase      )      ->       float:
							return sum(c * (x**i) for i, c in enumerate(UpperCamelCase      )      )





def  SCREAMING_SNAKE_CASE_       (UpperCamelCase				,			UpperCamelCase      )      ->       float:
							lowerCamelCase__					:	str         =       0.0
							for coeff in reversed(UpperCamelCase      ):
														lowerCamelCase__					:	Optional[int]         =       result * x + coeff
							return result


if __name__ == "__main__":
			_A	:			Any         =(0.0, 0.0, 5.0, 9.3, 7.0)
			_A	:			Optional[Any]         =10.0
			print(evaluate_poly(poly, x))
			print(horner(poly, x))

