



"""simple docstring"""







import numpy as np

def       _lowerCamelCase				(							UpperCAmelCase_ :       np.array     )	-> np.array:






	"""simple docstring"""





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


if __name__ == "__main__":
			import doctest

			doctest.testmod()









"""simple docstring"""







import warnings

from ...utils import logging
from .image_processing_deit import DeiTImageProcessor


UpperCamelCase     =							logging.get_logger(__name__)






class       UpperCamelCase__			(   _lowerCAmelCase      ):

			"""simple docstring"""


			def __init__(      self						,	*SCREAMING_SNAKE_CASE__						,	**SCREAMING_SNAKE_CASE__		)      ->	None:
				warnings.warn(
				    "The class DeiTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
				    " use DeiTImageProcessor instead."						,	SCREAMING_SNAKE_CASE__						,	)
				super().__init__(*SCREAMING_SNAKE_CASE__						,	**SCREAMING_SNAKE_CASE__		)




