



import functools
import operator

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


UpperCAmelCase      :							Dict							       =logging.get_logger(__name__)

UpperCAmelCase      :							List[Any]							       ={
    "asapp/sew-tiny-100k": "https://huggingface.co/asapp/sew-tiny-100k/resolve/main/config.json",
    # See all SEW models at https://huggingface.co/models?filter=sew
}


class 					_lowercase      (a_					):
				'''simple docstring'''







				lowercase__        =  """sew"""

				def __init__(       self   ,       snake_case__=32   ,       snake_case__=768   ,       snake_case__=12   ,       snake_case__=12   ,       snake_case__=3072   ,       snake_case__=2   ,       snake_case__="gelu"   ,       snake_case__=0.1   ,       snake_case__=0.1   ,       snake_case__=0.1   ,       snake_case__=0.0   ,       snake_case__=0.1   ,       snake_case__=0.1   ,       snake_case__=0.02   ,       snake_case__=1e-5   ,       snake_case__="group"   ,       snake_case__="gelu"   ,       snake_case__=(64, 128, 128, 128, 128, 256, 256, 256, 256, 512, 512, 512, 512)   ,       snake_case__=(5, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1)   ,       snake_case__=(10, 3, 1, 3, 1, 3, 1, 3, 1, 2, 1, 2, 1)   ,       snake_case__=False   ,       snake_case__=128   ,       snake_case__=16   ,       snake_case__=True   ,       snake_case__=0.05   ,       snake_case__=10   ,       snake_case__=2   ,       snake_case__=0.0   ,       snake_case__=10   ,       snake_case__=0   ,       snake_case__="mean"   ,       snake_case__=False   ,       snake_case__=False   ,       snake_case__=256   ,       snake_case__=0   ,       snake_case__=1   ,       snake_case__=2   ,       **snake_case__   ,       ):

									'''simple docstring'''


									super().__init__(**snake_case__   ,       pad_token_id=snake_case__   ,       bos_token_id=snake_case__   ,       eos_token_id=snake_case__			)
									UpperCamelCase_						     =      hidden_size
									UpperCamelCase_						     =      feat_extract_norm
									UpperCamelCase_						     =      feat_extract_activation
									UpperCamelCase_						     =      list(snake_case__			)
									UpperCamelCase_						     =      list(snake_case__			)
									UpperCamelCase_						     =      list(snake_case__			)
									UpperCamelCase_						     =      conv_bias
									UpperCamelCase_						     =      num_conv_pos_embeddings
									UpperCamelCase_						     =      num_conv_pos_embedding_groups
									UpperCamelCase_						     =      len(self.conv_dim			)
									UpperCamelCase_						     =      num_hidden_layers
									UpperCamelCase_						     =      intermediate_size
									UpperCamelCase_						     =      squeeze_factor
									UpperCamelCase_						     =      hidden_act
									UpperCamelCase_						     =      num_attention_heads
									UpperCamelCase_						     =      hidden_dropout
									UpperCamelCase_						     =      attention_dropout
									UpperCamelCase_						     =      activation_dropout
									UpperCamelCase_						     =      feat_proj_dropout
									UpperCamelCase_						     =      final_dropout
									UpperCamelCase_						     =      layerdrop
									UpperCamelCase_						     =      layer_norm_eps
									UpperCamelCase_						     =      initializer_range
									UpperCamelCase_						     =      vocab_size

									if (
									    (len(self.conv_stride			) != self.num_feat_extract_layers)
									    or (len(self.conv_kernel			) != self.num_feat_extract_layers)
									    or (len(self.conv_dim			) != self.num_feat_extract_layers)
									):
														raise ValueError(
														    "Configuration for convolutional layers is incorrect."
														    "It is required that `len(config.conv_dim)` == `len(config.conv_stride)` == `len(config.conv_kernel)`,"
														    F"""but is `len(config.conv_dim) = {len(self.conv_dim			)}`, `len(config.conv_stride)"""
														    F"""= {len(self.conv_stride			)}`, `len(config.conv_kernel) = {len(self.conv_kernel			)}`."""			)

									# fine-tuning config parameters for SpecAugment: https://arxiv.org/abs/1904.08779
									UpperCamelCase_						     =      apply_spec_augment
									UpperCamelCase_						     =      mask_time_prob
									UpperCamelCase_						     =      mask_time_length
									UpperCamelCase_						     =      mask_time_min_masks
									UpperCamelCase_						     =      mask_feature_prob
									UpperCamelCase_						     =      mask_feature_length
									UpperCamelCase_						     =      mask_feature_min_masks

									# ctc loss
									UpperCamelCase_						     =      ctc_loss_reduction
									UpperCamelCase_						     =      ctc_zero_infinity

									# sequence classification
									UpperCamelCase_						     =      use_weighted_layer_sum
									UpperCamelCase_						     =      classifier_proj_size

				@property
				def 					_lowerCamelCase    (       self			):

									'''simple docstring'''


									return functools.reduce(operator.mul   ,       self.conv_stride   ,       1			)






import math
from datetime import datetime, timedelta





def 		__A		(	__lowerCamelCase    )      ->       datetime:
	a										=							year % 19
	a										=							year % 4
	a										=							year % 7
	a										=							math.floor(year / 100    )
	a										=							math.floor((13 + 8 * leap_day_inhibits) / 25    )
	a										=							leap_day_inhibits / 4
	a										=							(
	    15 - lunar_orbit_correction + leap_day_inhibits - leap_day_reinstall_number
	) % 30
	a										=							(4 + leap_day_inhibits - leap_day_reinstall_number) % 7

	# days to be added to March 21
	a										=							(19 * metonic_cycle + secular_moon_shift) % 30

	# PHM -> Paschal Full Moon
	a										=							(
	    2 * julian_leap_year
	    + 4 * non_leap_year
	    + 6 * days_to_add
	    + century_starting_point
	) % 7

	if days_to_add == 29 and days_from_phm_to_sunday == 6:
		return datetime(__lowerCamelCase							,			4							,			19    )
	elif days_to_add == 28 and days_from_phm_to_sunday == 6:
		return datetime(__lowerCamelCase							,			4							,			18    )
	else:
		return datetime(__lowerCamelCase							,			3							,			22    ) + timedelta(
		    days=int(days_to_add + days_from_phm_to_sunday    )    )


if __name__ == "__main__":
		for year in (1_994, 2_000, 2_010, 2_021, 2_023):
				__UpperCamelCase					:       Tuple    					=      "will be" if year > datetime.now().year else "was"
				print(F'Easter in {year} {tense} {gauss_easter(year)}')

