




from __future__ import annotations







def lowerCamelCase__  (     _lowercase					,		_lowercase ):

     '''simple docstring'''


     UpperCAmelCase_     :				str  =     0
     UpperCAmelCase_     :				Tuple  =     len(_lowercase ) - 1

     while i < j:
          if nums[i] + nums[j] == target:
               return [i, j]
          elif nums[i] + nums[j] < target:
               UpperCAmelCase_     :				Tuple  =     i + 1
          else:
               UpperCAmelCase_     :				Union[str, Any]  =     j - 1

     return []


if __name__ == "__main__":
     import doctest

     doctest.testmod()
     print(F"""{two_pointer([2, 7, 11, 15], 9) = }""")

"""simple docstring"""





from ..utils import is_flax_available, is_torch_available


if is_torch_available():
		from .autoencoder_kl import AutoencoderKL
		from .controlnet import ControlNetModel
		from .dual_transformer_ad import DualTransformeraDModel
		from .modeling_utils import ModelMixin
		from .prior_transformer import PriorTransformer
		from .ta_film_transformer import TaFilmDecoder
		from .transformer_ad import TransformeraDModel
		from .unet_ad import UNetaDModel
		from .unet_ad import UNetaDModel
		from .unet_ad_condition import UNetaDConditionModel
		from .unet_ad_condition import UNetaDConditionModel
		from .vq_model import VQModel

if is_flax_available():
		from .controlnet_flax import FlaxControlNetModel
		from .unet_ad_condition_flax import FlaxUNetaDConditionModel
		from .vae_flax import FlaxAutoencoderKL




