


from ...configuration_utils import PretrainedConfig
from ...utils import logging


a : Optional[Any]		=				logging.get_logger(__name__)

a : Any		=				{
    '''microsoft/cvt-13''': '''https://huggingface.co/microsoft/cvt-13/resolve/main/config.json''',
    # See all Cvt models at https://huggingface.co/models?filter=cvt
}
class 	lowerCamelCase_       (				lowercase__				):



					'''simple docstring'''







					__UpperCAmelCase            =				'cvt'






					def __init__(				self ,       snake_case_=3 ,       snake_case_=[7, 3, 3] ,       snake_case_=[4, 2, 2] ,       snake_case_=[2, 1, 1] ,       snake_case_=[6_4, 1_9_2, 3_8_4] ,       snake_case_=[1, 3, 6] ,       snake_case_=[1, 2, 1_0] ,       snake_case_=[4.0, 4.0, 4.0] ,       snake_case_=[0.0, 0.0, 0.0] ,       snake_case_=[0.0, 0.0, 0.0] ,       snake_case_=[0.0, 0.0, 0.1] ,       snake_case_=[True, True, True] ,       snake_case_=[False, False, True] ,       snake_case_=["dw_bn", "dw_bn", "dw_bn"] ,       snake_case_=[3, 3, 3] ,       snake_case_=[1, 1, 1] ,       snake_case_=[2, 2, 2] ,       snake_case_=[1, 1, 1] ,       snake_case_=[1, 1, 1] ,       snake_case_=0.0_2 ,       snake_case_=1e-1_2 ,       **snake_case_ ,       )   ->			int:







								'''simple docstring'''

								super().__init__(**snake_case_						)
								__lowercase 					=   num_channels
								__lowercase 					=   patch_sizes
								__lowercase 					=   patch_stride
								__lowercase 					=   patch_padding
								__lowercase 					=   embed_dim
								__lowercase 					=   num_heads
								__lowercase 					=   depth
								__lowercase 					=   mlp_ratio
								__lowercase 					=   attention_drop_rate
								__lowercase 					=   drop_rate
								__lowercase 					=   drop_path_rate
								__lowercase 					=   qkv_bias
								__lowercase 					=   cls_token
								__lowercase 					=   qkv_projection_method
								__lowercase 					=   kernel_qkv
								__lowercase 					=   padding_kv
								__lowercase 					=   stride_kv
								__lowercase 					=   padding_q
								__lowercase 					=   stride_q
								__lowercase 					=   initializer_range
								__lowercase 					=   layer_norm_eps






# 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,
)


