code: def logspace(
      start, stop, num=50, endpoint=True, base=10.0, dtype=None, axis=0
  ):
      if not endpoint:
          interval = (stop - start) / num
          stop -= interval
      return ivy.logspace(
          start, stop, num, base=base, axis=axis, dtype=dtype
      )
  
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 4 for calling a global function with example usage: logspace(start, stop, num, endpoint, base, dtype, axis) and returns: ivy