
from dataclasses import dataclass
from typing import List, Optional, Union

import numpy as np
import torch

from ...utils import BaseOutput, OptionalDependencyNotAvailable, is_torch_available, is_transformers_available





@dataclass
class       _lowerCAmelCase   (      __a			):
				_lowercase     						=42


try:
			if not (is_transformers_available() and is_torch_available()):
						raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
			from ...utils.dummy_torch_and_transformers_objects import *  # noqa F403
else:
			from .pipeline_text_to_video_synth import TextToVideoSDPipeline
			from .pipeline_text_to_video_synth_imgaimg import VideoToVideoSDPipeline  # noqa: F401
			from .pipeline_text_to_video_zero import TextToVideoZeroPipeline





from math import loga






def   lowerCamelCase__							(							__lowerCAmelCase    :    int							):




			"""simple docstring"""


			if a < 0:
						raise ValueError("Input value must be a positive integer"							)
			elif isinstance(__lowerCAmelCase       ,				__lowerCAmelCase							):
						raise TypeError("Input value must be a 'int' type"							)
			return 0 if (a == 0) else int(loga(a & -a							)							)


if __name__ == "__main__":
			import doctest

			doctest.testmod()



