code: def vsplit(ary, indices_or_sections):
      if isinstance(indices_or_sections, (list, tuple, ivy.Array)):
          indices_or_sections = (
              ivy.diff(
                  indices_or_sections,
                  prepend=[0],
                  append=[ary.shape[0]],
              )
              .astype(ivy.int8)
              .to_list()
          )
      return ivy.vsplit(ary, indices_or_sections)
  
imports: import ivy
  from ivy.functional.frontends.numpy.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 5 for calling a global function with example usage: vsplit(ary, indices_or_sections) and returns: ivy