






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


A_			: Tuple				=			logging.get_logger(__name__)

A_			: Optional[Any]				=			{
    "google/reformer-crime-and-punishment": (
        "https://huggingface.co/google/reformer-crime-and-punishment/resolve/main/config.json"
    ),
    "google/reformer-enwik8": "https://huggingface.co/google/reformer-enwik8/resolve/main/config.json",
}



class 		a_      (	snake_case_ ):







      '''simple docstring'''

      lowerCamelCase__       :				Union[str, Any] =	'reformer'
      lowerCamelCase__       :				Dict =	['past_buckets_states']
      lowerCamelCase__       :				Any =	{}




      def __init__(self,     lowerCamelCase_=6_4,     lowerCamelCase_=["local", "lsh", "local", "lsh", "local", "lsh"],     lowerCamelCase_=1.0,     lowerCamelCase_=True,     lowerCamelCase_=[6_4, 6_4],     lowerCamelCase_=[6_4, 1_9_2],     lowerCamelCase_=0,     lowerCamelCase_=2,     lowerCamelCase_=5_1_2,     lowerCamelCase_=None,     lowerCamelCase_="relu",     lowerCamelCase_=0.05,     lowerCamelCase_=2_5_6,     lowerCamelCase_=0.02,     lowerCamelCase_=False,     lowerCamelCase_=1e-12,     lowerCamelCase_=1,     lowerCamelCase_=0,     lowerCamelCase_=0.05,     lowerCamelCase_=6_4,     lowerCamelCase_=6_4,     lowerCamelCase_=0.0,     lowerCamelCase_=1,     lowerCamelCase_=0,     lowerCamelCase_=4_0_9_6,     lowerCamelCase_=1_2,     lowerCamelCase_=None,     lowerCamelCase_=1,     lowerCamelCase_=0,     lowerCamelCase_=3_2_0,     lowerCamelCase_=False,     lowerCamelCase_=True,     lowerCamelCase_=None,     **lowerCamelCase_,     ):

       '''simple docstring'''



       lowerCamelCase__     :			int     				=						hash_seed
       lowerCamelCase__     :			str     				=						vocab_size
       lowerCamelCase__     :			List[Any]     				=						attention_head_size
       lowerCamelCase__     :			List[Any]     				=						hidden_size
       lowerCamelCase__     :			Dict     				=						num_attention_heads
       lowerCamelCase__     :			int     				=						num_hashes
       lowerCamelCase__     :			Optional[Any]     				=						len(lowerCamelCase_					)
       lowerCamelCase__     :			Dict     				=						tuple(lowerCamelCase_					) if isinstance(lowerCamelCase_,     lowerCamelCase_					) else num_buckets
       lowerCamelCase__     :			List[str]     				=						lsh_attn_chunk_length
       lowerCamelCase__     :			Optional[int]     				=						local_attn_chunk_length
       lowerCamelCase__     :			List[Any]     				=						lsh_num_chunks_after
       lowerCamelCase__     :			Optional[int]     				=						lsh_num_chunks_before
       lowerCamelCase__     :			List[str]     				=						local_num_chunks_after
       lowerCamelCase__     :			Tuple     				=						local_num_chunks_before
       lowerCamelCase__     :			Optional[Any]     				=						hidden_act
       lowerCamelCase__     :			List[str]     				=						feed_forward_size
       lowerCamelCase__     :			Union[str, Any]     				=						hidden_dropout_prob
       lowerCamelCase__     :			Dict     				=						lsh_attention_probs_dropout_prob
       lowerCamelCase__     :			int     				=						local_attention_probs_dropout_prob
       lowerCamelCase__     :			Optional[int]     				=						max_position_embeddings
       lowerCamelCase__     :			Tuple     				=						initializer_range
       lowerCamelCase__     :			str     				=						layer_norm_eps
       lowerCamelCase__     :			List[str]     				=						axial_pos_embds
       lowerCamelCase__     :			Optional[Any]     				=						tuple(lowerCamelCase_					)
       lowerCamelCase__     :			Optional[int]     				=						tuple(lowerCamelCase_					)
       lowerCamelCase__     :			Dict     				=						axial_norm_std
       lowerCamelCase__     :			Tuple     				=						chunk_size_lm_head
       lowerCamelCase__     :			str     				=						attn_layers
       lowerCamelCase__     :			str     				=						use_cache
       lowerCamelCase__     :			str     				=						classifier_dropout
       super().__init__(
           pad_token_id=lowerCamelCase_,     eos_token_id=lowerCamelCase_,     is_decoder=lowerCamelCase_,     tie_word_embeddings=lowerCamelCase_,     **lowerCamelCase_,     )









"""simple docstring"""
def        lowerCamelCase_  (						_lowerCamelCase				):
 return 1 if input_a == 0 else 0






def        lowerCamelCase_  (						):
 assert not_gate(0				) == 1
 assert not_gate(1				) == 0


if __name__ == "__main__":
      print(not_gate(0))
      print(not_gate(1))

