

from ..utils import DummyObject, requires_backends



class   __lowercase    (			metaclass=UpperCAmelCase_     ):




			"""simple docstring"""







			_UpperCAmelCase       :							Tuple      							=					['''transformers''', '''torch''', '''note_seq''']



			def __init__(			self  :					Union[str, Any]       ,						*lowerCAmelCase__  :					Tuple       ,						**lowerCAmelCase__  :					List[Any]):
									requires_backends(self       ,						["transformers", "torch", "note_seq"])



			@classmethod
			def 	_SCREAMING_SNAKE_CASE      (			cls  :					List[str]       ,						*lowerCAmelCase__  :					List[Any]       ,						**lowerCAmelCase__  :					Optional[Any]):
									requires_backends(cls       ,						["transformers", "torch", "note_seq"])




			@classmethod
			def 	_SCREAMING_SNAKE_CASE      (			cls  :					Tuple       ,						*lowerCAmelCase__  :					Tuple       ,						**lowerCAmelCase__  :					Optional[int]):
									requires_backends(cls       ,						["transformers", "torch", "note_seq"])









def       A_				(   _UpperCAmelCase    ,     _UpperCAmelCase   ):

						if density <= 0:
												raise ValueError("Impossible fluid density"   )
						if bulk_modulus <= 0:
												raise ValueError("Impossible bulk modulus"   )

						return (bulk_modulus / density) ** 0.5


if __name__ == "__main__":
						import doctest

						doctest.testmod()






