


import warnings

from ...utils import logging
from .image_processing_donut import DonutImageProcessor


UpperCAmelCase__   	=							logging.get_logger(__name__)







class       lowerCamelCase__   (       lowerCAmelCase):





     def __init__(self		,     *UpperCAmelCase		,     **UpperCAmelCase       )     ->   None:
      warnings.warn(
          '''The class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
          ''' use DonutImageProcessor instead.'''		,     UpperCAmelCase		,     )
      super().__init__(*UpperCAmelCase		,     **UpperCAmelCase       )






"""simple docstring"""

import numpy as np




def __lowercase			(							_a    ):
    return (2 / (1 + np.exp(-2 * vector    ))) - 1


if __name__ == "__main__":
     import doctest

     doctest.testmod()





