


'''simple docstring'''
def 			_lowercase       (				UpperCamelCase__       :					int,				UpperCamelCase__       :					int			):
 return int(input_a == input_a == 0			)


def 			_lowercase       (				):
 print('Truth Table of NOR Gate:'			)
 print('|   Input 1   |  Input 2  | Output |'			)
 print(f"""|      0      |    0      |  {nor_gate(0,				0			)}     |"""			)
 print(f"""|      0      |    1      |  {nor_gate(0,				1			)}     |"""			)
 print(f"""|      1      |    0      |  {nor_gate(1,				0			)}     |"""			)
 print(f"""|      1      |    1      |  {nor_gate(1,				1			)}     |"""			)


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 main()










'''simple docstring'''
from ...configuration_utils import PretrainedConfig
from ...utils import logging


UpperCAmelCase_ :     Dict								=      logging.get_logger(__name__)

UpperCAmelCase_ :     Optional[int]								=      {
    'sayakpaul/vit-msn-base': 'https://huggingface.co/sayakpaul/vit-msn-base/resolve/main/config.json',
    # See all ViT MSN models at https://huggingface.co/models?filter=vit_msn
}

class 						_lowerCamelCase					(    snake_case_				):




 '''simple docstring'''
 __lowercase				:		Tuple    							=						'''vit_msn'''


 def __init__(      self      ,      __lowercase=768      ,      __lowercase=12      ,      __lowercase=12      ,      __lowercase=3_072      ,      __lowercase="gelu"      ,      __lowercase=0.0      ,      __lowercase=0.0      ,      __lowercase=0.0_2      ,      __lowercase=1E-06      ,      __lowercase=224      ,      __lowercase=16      ,      __lowercase=3      ,      __lowercase=True      ,      **__lowercase      ,      ):

  """simple docstring"""







  super().__init__(**__lowercase						)

  __A  :		Tuple       =			hidden_size
  __A  :		Optional[int]       =			num_hidden_layers
  __A  :		str       =			num_attention_heads
  __A  :		Dict       =			intermediate_size
  __A  :		Optional[Any]       =			hidden_act
  __A  :		Union[str, Any]       =			hidden_dropout_prob
  __A  :		Optional[Any]       =			attention_probs_dropout_prob
  __A  :		List[str]       =			initializer_range
  __A  :		Dict       =			layer_norm_eps
  __A  :		List[Any]       =			image_size
  __A  :		Optional[int]       =			patch_size
  __A  :		List[Any]       =			num_channels
  __A  :		Optional[Any]       =			qkv_bias






