code: def _split_slice(self, slice):
      start = slice.start
      stop = slice.stop
      step = slice.step
      if start is None:
          start = 0
      elif stop is None:
          stop = start
          start = 0
      if isinstance(step, complex):
          step = abs(stop - start) / (int(abs(step)) - 1)
          stop += step
      elif step is None:
          step = 1
      return start, stop, step
  
imports: import ivy
  from ivy.functional.frontends.numpy.func_wrapper import outputs_to_frontend_arrays, to_ivy_arrays_and_back, handle_numpy_dtype
label_desc: Use image node_id 3 for calling the nd_grid obj's underlying member method code with example usage: obj._split_slice(slice) and returns: start,  stop,  step