
"""simple docstring"""




from __future__ import annotations

import typing
from collections.abc import Iterable

import numpy as np

A__      :	Optional[int]          =    typing.Union[Iterable[float], Iterable[int], np.ndarray]  # noqa: UP007
A__      :	Dict          =    typing.Union[np.floataa, int, float]  # noqa: UP007



def 							a__ (				lowerCAmelCase	:       Vector       ,    lowerCAmelCase	:       Vector		):






     '''simple docstring'''
     return np.sqrt(np.sum((np.asarray(lowerCAmelCase		) - np.asarray(lowerCAmelCase		)) ** 2		)		)



def 							a__ (				lowerCAmelCase	:       Vector       ,    lowerCAmelCase	:       Vector		):






     '''simple docstring'''
     return sum((va - va) ** 2 for va, va in zip(lowerCAmelCase       ,    lowerCAmelCase		)		) ** (1 / 2)


if __name__ == "__main__":



    def 							a__ (				):






         '''simple docstring'''
         from timeit import timeit

         print("Without Numpy"		)
         print(
             timeit(
                 "euclidean_distance_no_np([1, 2, 3], [4, 5, 6])"       ,    number=1_0000       ,    globals=globals()       ,    )		)
         print("With Numpy"		)
         print(
             timeit(
                 "euclidean_distance([1, 2, 3], [4, 5, 6])"       ,    number=1_0000       ,    globals=globals()       ,    )		)

    benchmark()





"""simple docstring"""




from typing import TYPE_CHECKING

from ....utils import _LazyModule


A__      :	List[str]          =    {"""tokenization_tapex""": ["""TapexTokenizer"""]}


if TYPE_CHECKING:
    from .tokenization_tapex import TapexTokenizer


else:
    import sys

    A__      :	Any          =    _LazyModule(__name__, globals()["""__file__"""], _import_structure)



