





'''simple docstring'''

def  a__    (    lowercase :					int, lowercase :					int				)		->		str:





     """simple docstring"""

     if a < 0 or b < 0:
          raise ValueError('''the value of both inputs must be positive'''				)

     _UpperCamelCase       =	str(bin(lowercase				)				)[2:]  # remove the leading "0b"
     _UpperCamelCase       =	str(bin(lowercase				)				)[2:]  # remove the leading "0b"

     _UpperCamelCase       =	max(len(lowercase				), len(lowercase				)				)

     return "0b" + "".join(
         str(int(char_a != char_b				)				)
         for char_a, char_b in zip(a_binary.zfill(lowercase				), b_binary.zfill(lowercase				)				)				)


if __name__ == "__main__":
   import doctest

   doctest.testmod()










'''simple docstring'''

from typing import TYPE_CHECKING

# rely on isort to merge the imports
from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


lowercase__						:      Optional[Any]	=    {
    'configuration_autoformer': [
        'AUTOFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP',
        'AutoformerConfig',
    ],
}

try:
   if not is_torch_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   lowercase__						:      List[Any]	=    [
       'AUTOFORMER_PRETRAINED_MODEL_ARCHIVE_LIST',
       'AutoformerForPrediction',
       'AutoformerModel',
       'AutoformerPreTrainedModel',
   ]


if TYPE_CHECKING:
   from .configuration_autoformer import (
       AUTOFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP,
       AutoformerConfig,
   )

   try:
      if not is_torch_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .modeling_autoformer import (
          AUTOFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
          AutoformerForPrediction,
          AutoformerModel,
          AutoformerPreTrainedModel,
      )

else:
   import sys

   lowercase__						:      Tuple	=    _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)



