






from ...configuration_utils import PretrainedConfig
from ...utils import logging


__a      :       Optional[Any]				  =   logging.get_logger(__name__)


class       __lowercase      (	UpperCamelCase__  ):







					'''simple docstring'''
					SCREAMING_SNAKE_CASE   						=				"timm_backbone"




					def __init__(				self       :			Union[str, Any] ,	UpperCamelCase_       :			str=None ,	UpperCamelCase_       :			Union[str, Any]=3 ,	UpperCamelCase_       :			str=True ,	UpperCamelCase_       :			Any=True ,	UpperCamelCase_       :			Optional[Any]=None ,	**UpperCamelCase_       :			List[str] ,	):


									"""simple docstring"""



									super().__init__(**__A				)
									__A         =	backbone
									__A         =	num_channels
									__A         =	features_only
									__A         =	use_pretrained_backbone
									__A         =	True
									__A         =	out_indices if out_indices is not None else (-1,)












from collections.abc import Sequence



def 			_SCREAMING_SNAKE_CASE						( __lowercase   :			Sequence[float]			,				__lowercase   :			float    )						->      float:





    """simple docstring"""

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



def 			_SCREAMING_SNAKE_CASE						( __lowercase   :			Sequence[float]			,				__lowercase   :			float    )						->      float:





    """simple docstring"""

    __A         =	0.0
    for coeff in reversed(__lowercase    ):
        __A         =	result * x + coeff
    return result


if __name__ == "__main__":
  __a      :       Dict				  =   (0.0, 0.0, 5.0, 9.3, 7.0)
  __a      :       Optional[Any]				  =   1_0.0
  print(evaluate_poly(poly, x))
  print(horner(poly, x))




