
"""simple docstring"""


import warnings

from ...utils import logging
from .image_processing_segformer import SegformerImageProcessor


A_    							=					logging.get_logger(__name__)




class  __lowerCamelCase  ( lowerCAmelCase			):




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






"""simple docstring"""
# limitations under the License.

# NOTE: This file is deprecated and will be removed in a future version.
# It only exists so that temporarely `from diffusers.pipelines import DiffusionPipeline` works

from .pipelines import DiffusionPipeline, ImagePipelineOutput  # noqa: F401
from .utils import deprecate


deprecate(
    """pipelines_utils""",
    """0.22.0""",
    """Importing `DiffusionPipeline` or `ImagePipelineOutput` from diffusers.pipeline_utils is deprecated. Please import from diffusers.pipelines.pipeline_utils instead.""",
    standard_warn=False,
    stacklevel=3,
)

