



import warnings

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


snake_case    :						Dict  =						logging.get_logger(__name__)




class 							lowerCAmelCase__  (	UpperCamelCase						):







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




from collections.abc import Callable

import numpy as np
def 	snake_case__       (					__lowercase							,     __lowercase							,     __lowercase							,     __lowercase							,     __lowercase       )		->		np.array:







						"""simple docstring"""

						A__	:							Any						    = int(np.ceil((x_end - xa) / step_size       )       )
						A__	:							Union[str, Any]						    = np.zeros((n + 1,)       )
						A__	:							Any						    = ya
						A__	:							Union[str, Any]						    = xa

						for k in range(__lowercase       ):
												A__	:							Any						    = y[k] + step_size * ode_func(__lowercase							,     y[k]       )
												A__	:							Any						    = y[k] + (
												    (step_size / 2) * (ode_func(__lowercase							,     y[k]       ) + ode_func(x + step_size							,     __lowercase       ))
												)
												x += step_size

						return y


if __name__ == "__main__":
		import doctest

		doctest.testmod()