code: def _convert_to_slices(
      tuples: tuple[_SliceIndices, ...],
  ) -> tuple[slice, ...]:
      return tuple(slice(*t) for t in tuples)
  
file_path: cupy/cupyx/distributed/array/_linalg.py
imports: import dataclasses
  import typing
  from typing import Callable, Optional
  import cupy
  from cupyx.distributed.array import _array
  from cupyx.distributed.array import _chunk
  from cupyx.distributed.array import _modes
label_desc: Use image node_id 4 for calling a global function with example usage: _convert_to_slices(tuples) and returns: tuple