






"""simple docstring"""



def 						lowercase    (				__snake_case				: int		,					__snake_case				: int		,					__snake_case				: int	):
		lowercase_ : Union[str, Any]							       =   (num_of_terms / 2) * (2 * first_term + (num_of_terms - 1) * common_diff)
		# formula for sum of series
		return total



def 						lowercase    (				):
		print(sum_of_series(1		,					1		,					1_0	)	)


if __name__ == "__main__":
						import doctest

						doctest.testmod()











"""simple docstring"""



from ...utils import is_torch_available, is_transformers_available


if is_transformers_available() and is_torch_available():
						from .pipeline_vq_diffusion import LearnedClassifierFreeSamplingEmbeddings, VQDiffusionPipeline



