import numpy as np




def       lowerCAmelCase_   (		lowercase:							np.ndarray		)    ->				np.ndarray:







 '''simple docstring'''
 return 1 / (1 + np.exp(-vector		))




def       lowerCAmelCase_   (		lowercase:							np.ndarray		)    ->				np.ndarray:







 '''simple docstring'''
 return vector * sigmoid(lowercase		)


if __name__ == "__main__":
  import doctest

  doctest.testmod()
import warnings

from ...utils import logging
from .image_processing_perceiver import PerceiverImageProcessor


UpperCAmelCase_			    =							logging.get_logger(__name__)




class  __magic_name__  (		__a    ):





   """simple docstring"""




   def __init__(	self					:  str		,  *_lowercase					:  str		,  **_lowercase					:  int							):



    """simple docstring"""



    warnings.warn(
        '''The class PerceiverFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
        ''' Please use PerceiverImageProcessor instead.'''		,  _lowercase		,  )
    super().__init__(*_lowercase		,  **_lowercase							)