


"""simple docstring"""
import warnings

from ...utils import logging
from .image_processing_deformable_detr import DeformableDetrImageProcessor


UpperCAmelCase				=						logging.get_logger(__name__)




class 	lowercase__				(					A_				):





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





"""simple docstring"""
import numpy as np

def 				_snake_case      (   __snake_case							:      np.ndarray   ):




   """simple docstring"""







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

def 				_snake_case      (   __snake_case							:      np.ndarray   ):




   """simple docstring"""







   return vector * sigmoid(__snake_case   )


if __name__ == "__main__":
 import doctest

 doctest.testmod()

