



"""simple docstring"""







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


A		=						logging.get_logger(__name__)

A		=						{
    'Visual-Attention-Network/van-base': (
        'https://huggingface.co/Visual-Attention-Network/van-base/blob/main/config.json'
    ),
}

class       _a  ( SCREAMING_SNAKE_CASE__):
			__magic_name__     					=     """van"""



			def __init__(			self							:				Union[str, Any]   ,	_lowercase							:				int=224   ,	_lowercase							:				Optional[Any]=3   ,	_lowercase							:				Dict=[7, 3, 3, 3]   ,	_lowercase							:				Tuple=[4, 2, 2, 2]   ,	_lowercase							:				str=[64, 128, 320, 512]   ,	_lowercase							:				str=[3, 3, 12, 3]   ,	_lowercase							:				List[str]=[8, 8, 4, 4]   ,	_lowercase							:				List[str]="gelu"   ,	_lowercase							:				Dict=0.02   ,	_lowercase							:				Optional[int]=1E-6   ,	_lowercase							:				Optional[Any]=1E-2   ,	_lowercase							:				int=0.0   ,	_lowercase							:				Dict=0.0   ,	**_lowercase							:				Optional[Any]   ,	)							->					Optional[Any]:
									super().__init__(**_lowercase		)
									snake_case   :			List[Any]						    = image_size
									snake_case   :			Any						    = num_channels
									snake_case   :			Tuple						    = patch_sizes
									snake_case   :			Optional[Any]						    = strides
									snake_case   :			Any						    = hidden_sizes
									snake_case   :			str						    = depths
									snake_case   :			List[Any]						    = mlp_ratios
									snake_case   :			Tuple						    = hidden_act
									snake_case   :			List[str]						    = initializer_range
									snake_case   :			Dict						    = layer_norm_eps
									snake_case   :			int						    = layer_scale_init_value
									snake_case   :			Optional[Any]						    = drop_path_rate
									snake_case   :			Any						    = dropout_rate








"""simple docstring"""







def  __SCREAMING_SNAKE_CASE		(			lowerCamelCase_:							int     ,		lowerCamelCase_:							int ):
						"""simple docstring"""






						return int((input_a, input_a).count(0 ) != 0 )

def  __SCREAMING_SNAKE_CASE		(			):
						"""simple docstring"""






						assert nand_gate(0     ,		0 ) == 1
						assert nand_gate(0     ,		1 ) == 1
						assert nand_gate(1     ,		0 ) == 1
						assert nand_gate(1     ,		1 ) == 0


if __name__ == "__main__":
			print(nand_gate(0, 0))
			print(nand_gate(0, 1))
			print(nand_gate(1, 0))
			print(nand_gate(1, 1))



