


import warnings

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


__a       =					logging.get_logger(__name__)







class  __SCREAMING_SNAKE_CASE      (	UpperCamelCase__      ):


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







from __future__ import annotations

import numpy as np







def 				lowerCAmelCase_	(     snake_case_     ):
      return np.maximum(0,snake_case_     )


if __name__ == "__main__":
  print(np.array(relu([-1, 0, 5])))  # --> [0, 0, 5]

