'''simple docstring'''




from collections.abc import Sequence






def 				snake_case__							(			_A:					Sequence[float]      ,   _A:					float )    ->	float:

		'''simple docstring'''


		return sum(c * (x**i) for i, c in enumerate(_A ) )






def 				snake_case__							(			_A:					Sequence[float]      ,   _A:					float )    ->	float:

		'''simple docstring'''


		lowerCAmelCase   					=  0.0
		for coeff in reversed(_A ):
				lowerCAmelCase   					=  result * x + coeff
		return result


if __name__ == "__main__":
						__lowercase          =  (0.0, 0.0, 5.0, 9.3, 7.0)
						__lowercase          =  10.0
						print(evaluate_poly(poly, x))
						print(horner(poly, x))





'''simple docstring'''




from ...utils import logging
from ..ta.modeling_tf_ta import TFTaEncoderModel, TFTaForConditionalGeneration, TFTaModel
from .configuration_mta import MTaConfig


__lowercase          =  logging.get_logger(__name__)

__lowercase          =  '''T5Config'''






class 				a__(					lowerCAmelCase__	):


			'''simple docstring'''






			UpperCAmelCase_			:     List[str]      =       '''mt5'''
			UpperCAmelCase_			:     Tuple      =       MTaConfig







class 				a__(					lowerCAmelCase__	):


			'''simple docstring'''






			UpperCAmelCase_			:     List[Any]      =       '''mt5'''
			UpperCAmelCase_			:     int      =       MTaConfig







class 				a__(					lowerCAmelCase__	):


			'''simple docstring'''






			UpperCAmelCase_			:     Tuple      =       '''mt5'''
			UpperCAmelCase_			:     Union[str, Any]      =       MTaConfig




