




'''simple docstring'''
import warnings

from ...utils import logging
from .image_processing_segformer import SegformerImageProcessor


_SCREAMING_SNAKE_CASE			=						logging.get_logger(__name__)
class   __UpperCAmelCase				(     lowerCAmelCase				):



					'''simple docstring'''





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










'''simple docstring'''
import numpy as np





def 			lowerCamelCase(							SCREAMING_SNAKE_CASE_     )		->		np.array:
			return 1 / (1 + np.exp(-vector     ))





def 			lowerCamelCase(							SCREAMING_SNAKE_CASE_     )		->		np.array:
			return vector * sigmoid(1.702 * vector     )


if __name__ == "__main__":
							import doctest

							doctest.testmod()




