



import warnings

from ...utils import logging
from .image_processing_beit import BeitImageProcessor


__snake_case     :Dict			       =logging.get_logger(__name__)



class        lowerCAmelCase__					(  _lowerCamelCase       ):


				def __init__(							self      :  Optional[Any]						, *__UpperCamelCase      :  List[str]						, **__UpperCamelCase      :  List[str]       )		->     None:
											warnings.warn(
											    'The class BeitFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
											    ' use BeitImageProcessor instead.'						, __UpperCamelCase						, )
											super().__init__(*__UpperCamelCase						, **__UpperCamelCase       )





import numpy as np


def 		lowerCamelCase__       (						_A				):







	'''simple docstring'''





	return (2 / (1 + np.exp(-2 * vector				))) - 1


if __name__ == "__main__":
		import doctest

		doctest.testmod()
