


from __future__ import annotations


def      a	(							SCREAMING_SNAKE_CASE_      :		list[int]							,			SCREAMING_SNAKE_CASE_      :		int       ):






       """simple docstring"""





       UpperCamelCase    :	Optional[int]   	=		0
       UpperCamelCase    :	int   	=		len(SCREAMING_SNAKE_CASE_       ) - 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    :	List[Any]   	=		j - 1

       return []


if __name__ == "__main__":
  import doctest

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






from ...utils import (
    OptionalDependencyNotAvailable,
    is_torch_available,
    is_transformers_available,
    is_transformers_version,
)


try:
  if not (is_transformers_available() and is_torch_available()):
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  from ...utils.dummy_torch_and_transformers_objects import ShapEPipeline
else:
  from .camera import create_pan_cameras
  from .pipeline_shap_e import ShapEPipeline
  from .pipeline_shap_e_img2img import ShapEImgaImgPipeline
  from .renderer import (
      BoundingBoxVolume,
      ImportanceRaySampler,
      MLPNeRFModelOutput,
      MLPNeRSTFModel,
      ShapEParamsProjModel,
      ShapERenderer,
      StratifiedRaySampler,
      VoidNeRFModel,
  )

