




import warnings

from ...utils import logging
from .image_processing_flava import FlavaImageProcessor


_lowerCamelCase      :  Dict      						=						logging.get_logger(__name__)
class        __snake_case  (UpperCamelCase_		):



				def __init__(      self      :		List[str]		,	*_UpperCAmelCase      :		Union[str, Any]		,	**_UpperCAmelCase      :		List[str]      )  ->    None:





								'''simple docstring'''




								warnings.warn(
								    """The class FlavaFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
								    """ use FlavaImageProcessor instead."""		,	_UpperCAmelCase		,	)
								super().__init__(*_UpperCAmelCase		,	**_UpperCAmelCase      )







import numpy as np




def 							_UpperCAmelCase  (UpperCamelCase_ : np.array       ):
				'''simple docstring'''
				return (2 / (1 + np.exp(-2 * vector       ))) - 1


if __name__ == "__main__":
	import doctest

	doctest.testmod()

