






from collections import OrderedDict
from typing import Mapping

from packaging import version

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


snake_case__   :						Tuple													=   logging.get_logger(__name__)

snake_case__   :						List[str]													=   {
    """hustvl/yolos-small""": """https://huggingface.co/hustvl/yolos-small/resolve/main/config.json""",
    # See all YOLOS models at https://huggingface.co/models?filter=yolos
}


class     _a							(	UpperCAmelCase__     ):






  """simple docstring"""





  A_						       = """yolos"""




  def __init__(  self		,		_UpperCAmelCase=768		,		_UpperCAmelCase=12		,		_UpperCAmelCase=12		,		_UpperCAmelCase=3072		,		_UpperCAmelCase="gelu"		,		_UpperCAmelCase=0.0		,		_UpperCAmelCase=0.0		,		_UpperCAmelCase=0.0_2		,		_UpperCAmelCase=1e-12		,		_UpperCAmelCase=[512, 864]		,		_UpperCAmelCase=16		,		_UpperCAmelCase=3		,		_UpperCAmelCase=True		,		_UpperCAmelCase=100		,		_UpperCAmelCase=True		,		_UpperCAmelCase=False		,		_UpperCAmelCase=1		,		_UpperCAmelCase=5		,		_UpperCAmelCase=2		,		_UpperCAmelCase=5		,		_UpperCAmelCase=2		,		_UpperCAmelCase=0.1		,		**_UpperCAmelCase		,		)      ->			List[str]:
     super().__init__(**_UpperCAmelCase			)

     UpperCamelCase_						=  hidden_size
     UpperCamelCase_						=  num_hidden_layers
     UpperCamelCase_						=  num_attention_heads
     UpperCamelCase_						=  intermediate_size
     UpperCamelCase_						=  hidden_act
     UpperCamelCase_						=  hidden_dropout_prob
     UpperCamelCase_						=  attention_probs_dropout_prob
     UpperCamelCase_						=  initializer_range
     UpperCamelCase_						=  layer_norm_eps
     UpperCamelCase_						=  image_size
     UpperCamelCase_						=  patch_size
     UpperCamelCase_						=  num_channels
     UpperCamelCase_						=  qkv_bias
     UpperCamelCase_						=  num_detection_tokens
     UpperCamelCase_						=  use_mid_position_embeddings
     UpperCamelCase_						=  auxiliary_loss
     # Hungarian matcher
     UpperCamelCase_						=  class_cost
     UpperCamelCase_						=  bbox_cost
     UpperCamelCase_						=  giou_cost
     # Loss coefficients
     UpperCamelCase_						=  bbox_loss_coefficient
     UpperCamelCase_						=  giou_loss_coefficient
     UpperCamelCase_						=  eos_coefficient




class     _a							(	UpperCAmelCase__     ):






  """simple docstring"""





  A_						       = version.parse("""1.11"""     )




  @property
  def  _UpperCAmelCase  (  self			)      ->			Mapping[str, Mapping[int, str]]:
     return OrderedDict(
         [
             ('pixel_values', {0: 'batch', 1: 'num_channels', 2: 'height', 3: 'width'}),
         ]			)




  @property
  def  _UpperCAmelCase  (  self			)      ->			float:
     return 1e-4




  @property
  def  _UpperCAmelCase  (  self			)      ->			int:
     return 12













import math
from datetime import datetime, timedelta






def      _snake_case     (__lowercase):
   UpperCamelCase_						=  year % 19
   UpperCamelCase_						=  year % 4
   UpperCamelCase_						=  year % 7
   UpperCamelCase_						=  math.floor(year / 100)
   UpperCamelCase_						=  math.floor((13 + 8 * leap_day_inhibits) / 25)
   UpperCamelCase_						=  leap_day_inhibits / 4
   UpperCamelCase_						=  (
       15 - lunar_orbit_correction + leap_day_inhibits - leap_day_reinstall_number
   ) % 30
   UpperCamelCase_						=  (4 + leap_day_inhibits - leap_day_reinstall_number) % 7

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

   # PHM -> Paschal Full Moon
   UpperCamelCase_						=  (
       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(__lowercase     ,   4     ,   19)
   elif days_to_add == 28 and days_from_phm_to_sunday == 6:
      return datetime(__lowercase     ,   4     ,   18)
   else:
      return datetime(__lowercase     ,   3     ,   22) + timedelta(
          days=int(days_to_add + days_from_phm_to_sunday))


if __name__ == "__main__":
 for year in (1_9_9_4, 2_0_0_0, 2_0_1_0, 2_0_2_1, 2_0_2_3):
  snake_case__   :						Dict													=   """will be""" if year > datetime.now().year else """was"""
  print(f'Easter in {year} {tense} {gauss_easter(year)}')





