

__snake_case			:     str										=      tuple[float, float, float]
__snake_case			:     Tuple										=      tuple[float, float, float]
def 						__lowerCamelCase	(       __snake_case					:		Pointad,		__snake_case					:		Pointad	)	->							Vectorad:






						"""simple docstring"""





						A__					:       Optional[int]     =end_pointa[0] - end_pointa[0]
						A__					:       Tuple     =end_pointa[1] - end_pointa[1]
						A__					:       str     =end_pointa[2] - end_pointa[2]
						return (x, y, z)
def 						__lowerCamelCase	(       __snake_case					:		Vectorad,		__snake_case					:		Vectorad	)	->							Vectorad:






						"""simple docstring"""





						A__					:       int     =ab[1] * ac[2] - ab[2] * ac[1]  # *i
						A__					:       Union[str, Any]     =(ab[0] * ac[2] - ab[2] * ac[0]) * -1  # *j
						A__					:       Optional[int]     =ab[0] * ac[1] - ab[1] * ac[0]  # *k
						return (x, y, z)
def 						__lowerCamelCase	(       __snake_case					:		Vectorad,		__snake_case					:		int	)	->							bool:






						"""simple docstring"""





						return tuple(round(__snake_case,		__snake_case	) for x in vector	) == (0, 0, 0)
def 						__lowerCamelCase	(       __snake_case					:		Pointad,		__snake_case					:		Pointad,		__snake_case					:		Pointad,		__snake_case					:		int = 10	)	->							bool:






						"""simple docstring"""





						A__					:       Union[str, Any]     =create_vector(__snake_case,		__snake_case	)
						A__					:       str     =create_vector(__snake_case,		__snake_case	)
						return is_zero_vector(get_ad_vectors_cross(__snake_case,		__snake_case	),		__snake_case	)




'''simple docstring'''



from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_speech_available, is_torch_available


__snake_case			:     Any										=      {
    'configuration_audio_spectrogram_transformer': [
        'AUDIO_SPECTROGRAM_TRANSFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP',
        'ASTConfig',
    ]
}

try:
		if not is_torch_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		__snake_case			:     Optional[int]										=      [
		    'AUDIO_SPECTROGRAM_TRANSFORMER_PRETRAINED_MODEL_ARCHIVE_LIST',
		    'ASTForAudioClassification',
		    'ASTModel',
		    'ASTPreTrainedModel',
		]

try:
		if not is_speech_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		__snake_case			:     List[Any]										=      ['ASTFeatureExtractor']

if TYPE_CHECKING:
		from .configuration_audio_spectrogram_transformer import (
		    AUDIO_SPECTROGRAM_TRANSFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP,
		    ASTConfig,
		)

		try:
				if not is_torch_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .modeling_audio_spectrogram_transformer import (
				    AUDIO_SPECTROGRAM_TRANSFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
				    ASTForAudioClassification,
				    ASTModel,
				    ASTPreTrainedModel,
				)

		try:
				if not is_speech_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .feature_extraction_audio_spectrogram_transformer import ASTFeatureExtractor


else:
		import sys

		__snake_case			:     Optional[Any]										=      _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)

