
from collections.abc import Sequence






def 							UpperCAmelCase_		(							__SCREAMING_SNAKE_CASE ,							__SCREAMING_SNAKE_CASE							):
	return sum(c * (x**i) for i, c in enumerate(_lowerCamelCase							)							)






def 							UpperCAmelCase_		(							__SCREAMING_SNAKE_CASE ,							__SCREAMING_SNAKE_CASE							):
	lowercase       =    0.0
	for coeff in reversed(_lowerCamelCase							):
		lowercase       =    result * x + coeff
	return result


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


"""simple docstring"""




# NOTE: This file is deprecated and will be removed in a future version.
# It only exists so that temporarely `from diffusers.pipelines import DiffusionPipeline` works
from ...utils import deprecate
from ..controlnet.multicontrolnet import MultiControlNetModel  # noqa: F401
from ..controlnet.pipeline_controlnet import StableDiffusionControlNetPipeline  # noqa: F401


deprecate(
    'stable diffusion controlnet',
    '0.22.0',
    'Importing `StableDiffusionControlNetPipeline` or `MultiControlNetModel` from diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_controlnet is deprecated. Please import `from diffusers import StableDiffusionControlNetPipeline` instead.',
    standard_warn=False,
    stacklevel=3,
)




